From 5fdd7a77124fb156bfd4941488feb2ae997beb77 Mon Sep 17 00:00:00 2001 From: perp Date: Mon, 3 Jun 2024 14:55:57 +0100 Subject: [PATCH] Add license --- internal/jwt/decode.go | 14 ++++++++++++++ internal/jwt/encode.go | 14 ++++++++++++++ internal/jwt/jwt.go | 14 ++++++++++++++ internal/models/error.go | 14 ++++++++++++++ internal/models/token.go | 14 ++++++++++++++ internal/models/v1/account.go | 14 ++++++++++++++ internal/router/api/v1/account/register.go | 14 ++++++++++++++ 7 files changed, 98 insertions(+) diff --git a/internal/jwt/decode.go b/internal/jwt/decode.go index 635747a..3a12701 100644 --- a/internal/jwt/decode.go +++ b/internal/jwt/decode.go @@ -1,3 +1,17 @@ +// Copyright 2024 perp (supernets) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package jwt import ( diff --git a/internal/jwt/encode.go b/internal/jwt/encode.go index 26ed741..c05e151 100644 --- a/internal/jwt/encode.go +++ b/internal/jwt/encode.go @@ -1,3 +1,17 @@ +// Copyright 2024 perp (supernets) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package jwt import ( diff --git a/internal/jwt/jwt.go b/internal/jwt/jwt.go index f584e21..c64d692 100644 --- a/internal/jwt/jwt.go +++ b/internal/jwt/jwt.go @@ -1,3 +1,17 @@ +// Copyright 2024 perp (supernets) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package jwt import "github.com/golang-jwt/jwt" diff --git a/internal/models/error.go b/internal/models/error.go index 1ac1dd8..183b7a8 100644 --- a/internal/models/error.go +++ b/internal/models/error.go @@ -1,3 +1,17 @@ +// Copyright 2024 perp (supernets) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package models // Error response diff --git a/internal/models/token.go b/internal/models/token.go index 016abd7..397760a 100644 --- a/internal/models/token.go +++ b/internal/models/token.go @@ -1,3 +1,17 @@ +// Copyright 2024 perp (supernets) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package models // Token response diff --git a/internal/models/v1/account.go b/internal/models/v1/account.go index ec93eb2..296dffc 100644 --- a/internal/models/v1/account.go +++ b/internal/models/v1/account.go @@ -1,3 +1,17 @@ +// Copyright 2024 perp (supernets) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1 // Account response diff --git a/internal/router/api/v1/account/register.go b/internal/router/api/v1/account/register.go index 5f8c5ec..042e86d 100644 --- a/internal/router/api/v1/account/register.go +++ b/internal/router/api/v1/account/register.go @@ -1,3 +1,17 @@ +// Copyright 2024 perp (supernets) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package account import (