Skip to content

Commit

Permalink
all: add copyright (trpc-group#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzengh authored Aug 24, 2023
1 parent bbfd46a commit 4699a10
Show file tree
Hide file tree
Showing 472 changed files with 2,373 additions and 12 deletions.
5 changes: 5 additions & 0 deletions admin/admin.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

// Package admin provides management capabilities for trpc services,
// including but not limited to health checks, logging, performance monitoring, RPCZ, etc.
package admin
Expand Down
5 changes: 5 additions & 0 deletions admin/admin_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package admin

import (
Expand Down
5 changes: 5 additions & 0 deletions admin/admin_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

//go:build !windows
// +build !windows

Expand Down
5 changes: 5 additions & 0 deletions admin/config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package admin

import (
Expand Down
5 changes: 5 additions & 0 deletions admin/mux.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package admin

import (
Expand Down
5 changes: 5 additions & 0 deletions admin/options.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package admin

import (
Expand Down
5 changes: 5 additions & 0 deletions admin/options_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package admin

import (
Expand Down
5 changes: 5 additions & 0 deletions admin/router.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package admin

import (
Expand Down
5 changes: 5 additions & 0 deletions admin/router_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package admin

import (
Expand Down
5 changes: 5 additions & 0 deletions client/attachment.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package client

import (
Expand Down
5 changes: 5 additions & 0 deletions client/attachment_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package client

import (
Expand Down
5 changes: 5 additions & 0 deletions client/client.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

// Package client is tRPC-Go clientside implementation,
// including network transportation, resolving, routing etc.
package client
Expand Down
5 changes: 5 additions & 0 deletions client/client_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package client_test

import (
Expand Down
5 changes: 5 additions & 0 deletions client/config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package client

import (
Expand Down
5 changes: 5 additions & 0 deletions client/config_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package client_test

import (
Expand Down
5 changes: 5 additions & 0 deletions client/full_link_timeout.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package client

import "trpc.group/trpc-go/trpc-go/errs"
Expand Down
5 changes: 5 additions & 0 deletions client/mockclient/client_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions client/options.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package client

import (
Expand Down
5 changes: 5 additions & 0 deletions client/options_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package client_test

import (
Expand Down
5 changes: 5 additions & 0 deletions client/stream.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package client

import (
Expand Down
5 changes: 5 additions & 0 deletions client/stream_filter.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package client

import (
Expand Down
5 changes: 5 additions & 0 deletions client/stream_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package client_test

import (
Expand Down
5 changes: 5 additions & 0 deletions codec.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package trpc

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/codec.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

// Package codec defines the business communication protocol of
// packing and unpacking.
package codec
Expand Down
5 changes: 5 additions & 0 deletions codec/codec_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec_test

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/compress.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/compress_gzip.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/compress_noop.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec

func init() {
Expand Down
5 changes: 5 additions & 0 deletions codec/compress_snappy.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/compress_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec_test

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/compress_zlib.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/framer_builder.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/framer_builder_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/message.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/message_bench_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/message_impl.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/message_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec_test

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/serialization.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/serialization_fb.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/serialization_json.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/serialization_jsonpb.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/serialization_noop.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/serialization_proto.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec

import (
Expand Down
5 changes: 5 additions & 0 deletions codec/serialization_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.

package codec_test

import (
Expand Down
Loading

0 comments on commit 4699a10

Please sign in to comment.