From 9c56019ce07f6c923088b27df01bcae478d37cca Mon Sep 17 00:00:00 2001 From: hiahia12 <284662907@qq.com> Date: Tue, 16 Jan 2024 00:25:29 +0800 Subject: [PATCH] license header --- client/circult_breaker.go | 14 ++++++++++++++ client/retry.go | 14 ++++++++++++++ client/rpc_timeout.go | 14 ++++++++++++++ client/suite.go | 14 ++++++++++++++ consul/consul.go | 14 ++++++++++++++ consul/consul_test.go | 1 - consul/parser.go | 14 ++++++++++++++ consul/uid.go | 14 ++++++++++++++ server/limiter.go | 14 ++++++++++++++ server/suit.go | 14 ++++++++++++++ utils/options.go | 14 ++++++++++++++ utils/set.go | 14 ++++++++++++++ 12 files changed, 154 insertions(+), 1 deletion(-) delete mode 100644 consul/consul_test.go diff --git a/client/circult_breaker.go b/client/circult_breaker.go index ff1c285..58b37d5 100644 --- a/client/circult_breaker.go +++ b/client/circult_breaker.go @@ -1,3 +1,17 @@ +// Copyright 2023 CloudWeGo Authors +// +// 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 client import ( diff --git a/client/retry.go b/client/retry.go index 5b9e286..b1bcb8e 100644 --- a/client/retry.go +++ b/client/retry.go @@ -1,3 +1,17 @@ +// Copyright 2023 CloudWeGo Authors +// +// 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 client import ( diff --git a/client/rpc_timeout.go b/client/rpc_timeout.go index 8ecb7c0..a15ca36 100644 --- a/client/rpc_timeout.go +++ b/client/rpc_timeout.go @@ -1,3 +1,17 @@ +// Copyright 2023 CloudWeGo Authors +// +// 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 client import ( diff --git a/client/suite.go b/client/suite.go index bb45dc9..357803d 100644 --- a/client/suite.go +++ b/client/suite.go @@ -1,3 +1,17 @@ +// Copyright 2023 CloudWeGo Authors +// +// 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 client import ( diff --git a/consul/consul.go b/consul/consul.go index 6ab2a0a..a84f336 100644 --- a/consul/consul.go +++ b/consul/consul.go @@ -1,3 +1,17 @@ +// Copyright 2023 CloudWeGo Authors +// +// 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 consul import ( diff --git a/consul/consul_test.go b/consul/consul_test.go deleted file mode 100644 index cc05ead..0000000 --- a/consul/consul_test.go +++ /dev/null @@ -1 +0,0 @@ -package consul diff --git a/consul/parser.go b/consul/parser.go index ed07c91..82d805e 100644 --- a/consul/parser.go +++ b/consul/parser.go @@ -1,3 +1,17 @@ +// Copyright 2023 CloudWeGo Authors +// +// 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 consul import ( diff --git a/consul/uid.go b/consul/uid.go index 27828d5..11bed6c 100644 --- a/consul/uid.go +++ b/consul/uid.go @@ -1,3 +1,17 @@ +// Copyright 2023 CloudWeGo Authors +// +// 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 consul import "sync/atomic" diff --git a/server/limiter.go b/server/limiter.go index 9490e27..f6d8bdf 100644 --- a/server/limiter.go +++ b/server/limiter.go @@ -1,3 +1,17 @@ +// Copyright 2023 CloudWeGo Authors +// +// 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 server import ( diff --git a/server/suit.go b/server/suit.go index 8baa1a2..ede9923 100644 --- a/server/suit.go +++ b/server/suit.go @@ -1,3 +1,17 @@ +// Copyright 2023 CloudWeGo Authors +// +// 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 server import ( diff --git a/utils/options.go b/utils/options.go index b8c80c4..9fe13ab 100644 --- a/utils/options.go +++ b/utils/options.go @@ -1,3 +1,17 @@ +// Copyright 2023 CloudWeGo Authors +// +// 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 utils import "config-consul/consul" diff --git a/utils/set.go b/utils/set.go index 263b073..597f225 100644 --- a/utils/set.go +++ b/utils/set.go @@ -1,3 +1,17 @@ +// Copyright 2023 CloudWeGo Authors +// +// 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 utils import "sync"