diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3e1c9d9..055a30e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -108,11 +108,18 @@ Instead, your name will appear in the change log. New files that you contribute should use the standard copyright header: ```go -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// ``` Files in the repository are copyrighted the year they are added. diff --git a/CONTRIBUTING.zh_CN.md b/CONTRIBUTING.zh_CN.md index 087491a..d1fa773 100644 --- a/CONTRIBUTING.zh_CN.md +++ b/CONTRIBUTING.zh_CN.md @@ -100,11 +100,18 @@ tnet 代码仓库中的文件不列出作者姓名,以避免混乱并避免不 您贡献的新文件应使用标准版权声明: ```go -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// ``` 代码仓库中的文件在添加时受版权保护。 diff --git a/closer.go b/closer.go index 3957b4d..848ae8c 100644 --- a/closer.go +++ b/closer.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet diff --git a/dialer.go b/dialer.go index b2fc4ce..76826f4 100644 --- a/dialer.go +++ b/dialer.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet diff --git a/dialer_test.go b/dialer_test.go index a6f5a1f..be37719 100644 --- a/dialer_test.go +++ b/dialer_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet_test diff --git a/examples/tcp/classical/main.go b/examples/tcp/classical/main.go index d9dfa0b..f1c5aaf 100644 --- a/examples/tcp/classical/main.go +++ b/examples/tcp/classical/main.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package main is the main package. package main diff --git a/examples/tcp/client/main.go b/examples/tcp/client/main.go index 63c29c4..6a1ea6a 100644 --- a/examples/tcp/client/main.go +++ b/examples/tcp/client/main.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package main is the main package. package main diff --git a/examples/tcp/combined/main.go b/examples/tcp/combined/main.go index 8d35af7..9d9fdcc 100644 --- a/examples/tcp/combined/main.go +++ b/examples/tcp/combined/main.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package main is the main package. package main diff --git a/examples/tcp/common.go b/examples/tcp/common.go index b140419..c9415d4 100644 --- a/examples/tcp/common.go +++ b/examples/tcp/common.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package tcp provides common function for tcp example. package tcp diff --git a/examples/tcp/separated/main.go b/examples/tcp/separated/main.go index 700efbb..5f84c75 100644 --- a/examples/tcp/separated/main.go +++ b/examples/tcp/separated/main.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package main is the main package. package main diff --git a/examples/udp/classical/main.go b/examples/udp/classical/main.go index d76eabc..9e25934 100644 --- a/examples/udp/classical/main.go +++ b/examples/udp/classical/main.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package main is the main package. package main diff --git a/examples/udp/client/main.go b/examples/udp/client/main.go index 092b9e3..0c2b4ce 100644 --- a/examples/udp/client/main.go +++ b/examples/udp/client/main.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package main is the main package. package main diff --git a/examples/udp/combined/main.go b/examples/udp/combined/main.go index c8198b4..2715d24 100644 --- a/examples/udp/combined/main.go +++ b/examples/udp/combined/main.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package main is the main package. package main diff --git a/examples/udp/common.go b/examples/udp/common.go index f1359ec..8f9026d 100644 --- a/examples/udp/common.go +++ b/examples/udp/common.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package udp provides common function for udp example. package udp diff --git a/examples/udp/separated/main.go b/examples/udp/separated/main.go index edda842..93156a8 100644 --- a/examples/udp/separated/main.go +++ b/examples/udp/separated/main.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package main is the main package. package main diff --git a/extensions/websocket/client.go b/extensions/websocket/client.go index 98e0642..c2902fc 100644 --- a/extensions/websocket/client.go +++ b/extensions/websocket/client.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package websocket diff --git a/extensions/websocket/conn.go b/extensions/websocket/conn.go index 4e93e16..b8404ff 100644 --- a/extensions/websocket/conn.go +++ b/extensions/websocket/conn.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package websocket diff --git a/extensions/websocket/conn_test.go b/extensions/websocket/conn_test.go index 4070e68..fe11cb6 100644 --- a/extensions/websocket/conn_test.go +++ b/extensions/websocket/conn_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package websocket diff --git a/extensions/websocket/control_handler.go b/extensions/websocket/control_handler.go index 5c0a385..5163c26 100644 --- a/extensions/websocket/control_handler.go +++ b/extensions/websocket/control_handler.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package websocket diff --git a/extensions/websocket/control_handler_test.go b/extensions/websocket/control_handler_test.go index d652016..ea0832f 100644 --- a/extensions/websocket/control_handler_test.go +++ b/extensions/websocket/control_handler_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package websocket_test diff --git a/extensions/websocket/examples/bytestream/client/main.go b/extensions/websocket/examples/bytestream/client/main.go index e614f2b..a298944 100644 --- a/extensions/websocket/examples/bytestream/client/main.go +++ b/extensions/websocket/examples/bytestream/client/main.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package main is the main package. package main diff --git a/extensions/websocket/examples/bytestream/server/main.go b/extensions/websocket/examples/bytestream/server/main.go index b453c75..bf930a7 100644 --- a/extensions/websocket/examples/bytestream/server/main.go +++ b/extensions/websocket/examples/bytestream/server/main.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package main is the main package. package main diff --git a/extensions/websocket/examples/ctrlhandler/client/main.go b/extensions/websocket/examples/ctrlhandler/client/main.go index 6050ae1..3f7384a 100644 --- a/extensions/websocket/examples/ctrlhandler/client/main.go +++ b/extensions/websocket/examples/ctrlhandler/client/main.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package main is the main package. package main diff --git a/extensions/websocket/examples/ctrlhandler/server/main.go b/extensions/websocket/examples/ctrlhandler/server/main.go index 0d12110..3fd9fdc 100644 --- a/extensions/websocket/examples/ctrlhandler/server/main.go +++ b/extensions/websocket/examples/ctrlhandler/server/main.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package main is the main package. package main diff --git a/extensions/websocket/examples/echo/client/main.go b/extensions/websocket/examples/echo/client/main.go index a52f24a..4d4ee40 100644 --- a/extensions/websocket/examples/echo/client/main.go +++ b/extensions/websocket/examples/echo/client/main.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package main is the main package. package main diff --git a/extensions/websocket/examples/echo/server/main.go b/extensions/websocket/examples/echo/server/main.go index 6b464a4..ee3337e 100644 --- a/extensions/websocket/examples/echo/server/main.go +++ b/extensions/websocket/examples/echo/server/main.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package main is the main package. package main diff --git a/extensions/websocket/options.go b/extensions/websocket/options.go index 814cab7..8055043 100644 --- a/extensions/websocket/options.go +++ b/extensions/websocket/options.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package websocket diff --git a/extensions/websocket/server.go b/extensions/websocket/server.go index b25d576..2f11132 100644 --- a/extensions/websocket/server.go +++ b/extensions/websocket/server.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package websocket diff --git a/extensions/websocket/websocket.go b/extensions/websocket/websocket.go index 80941c0..4bbcf67 100644 --- a/extensions/websocket/websocket.go +++ b/extensions/websocket/websocket.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package websocket provides websocket connection interface. package websocket diff --git a/extensions/websocket/websocket_test.go b/extensions/websocket/websocket_test.go index 17b1903..25248d3 100644 --- a/extensions/websocket/websocket_test.go +++ b/extensions/websocket/websocket_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package websocket_test diff --git a/internal/asynctimer/asynctimer.go b/internal/asynctimer/asynctimer.go index a55ffe2..1baec60 100644 --- a/internal/asynctimer/asynctimer.go +++ b/internal/asynctimer/asynctimer.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package asynctimer provides asynchronous timer function, which is implemented by time wheel. package asynctimer diff --git a/internal/asynctimer/asynctimer_test.go b/internal/asynctimer/asynctimer_test.go index f8296cb..0fa537d 100644 --- a/internal/asynctimer/asynctimer_test.go +++ b/internal/asynctimer/asynctimer_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package asynctimer_test diff --git a/internal/autopostpone/autopostpone.go b/internal/autopostpone/autopostpone.go index 85ed717..2730264 100644 --- a/internal/autopostpone/autopostpone.go +++ b/internal/autopostpone/autopostpone.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package autopostpone provides utilities to decide whether to postpone write. package autopostpone diff --git a/internal/autopostpone/autopostpone_test.go b/internal/autopostpone/autopostpone_test.go index 866451d..a6b5449 100644 --- a/internal/autopostpone/autopostpone_test.go +++ b/internal/autopostpone/autopostpone_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package autopostpone_test diff --git a/internal/buffer/buffer.go b/internal/buffer/buffer.go index 7e1489b..e8ed510 100644 --- a/internal/buffer/buffer.go +++ b/internal/buffer/buffer.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package buffer provides linked buffers. package buffer diff --git a/internal/buffer/buffer_test.go b/internal/buffer/buffer_test.go index cbbe866..af1272f 100644 --- a/internal/buffer/buffer_test.go +++ b/internal/buffer/buffer_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package buffer diff --git a/internal/buffer/node.go b/internal/buffer/node.go index 615c66c..72a17fe 100644 --- a/internal/buffer/node.go +++ b/internal/buffer/node.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package buffer diff --git a/internal/buffer/node_test.go b/internal/buffer/node_test.go index 44505d0..f36a711 100644 --- a/internal/buffer/node_test.go +++ b/internal/buffer/node_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package buffer diff --git a/internal/cache/mcache/mcache.go b/internal/cache/mcache/mcache.go index 2a62fc6..a411692 100644 --- a/internal/cache/mcache/mcache.go +++ b/internal/cache/mcache/mcache.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package mcache provides cache for byte slice. package mcache diff --git a/internal/cache/mcache/mcache_test.go b/internal/cache/mcache/mcache_test.go index 52e7dc7..b132cb1 100644 --- a/internal/cache/mcache/mcache_test.go +++ b/internal/cache/mcache/mcache_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package mcache_test diff --git a/internal/cache/systype/systype.go b/internal/cache/systype/systype.go index 019ae52..2184de5 100644 --- a/internal/cache/systype/systype.go +++ b/internal/cache/systype/systype.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package systype provides system type such as unix.Ioves. // Reuses [][]byte and []MMsghdr. diff --git a/internal/cache/systype/systype32.go b/internal/cache/systype/systype32.go index 4b2360d..9154515 100644 --- a/internal/cache/systype/systype32.go +++ b/internal/cache/systype/systype32.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// //go:build 386 || arm || wasm || mips || mipsle // +build 386 arm wasm mips mipsle diff --git a/internal/cache/systype/systype64.go b/internal/cache/systype/systype64.go index 0d119c8..db42fb9 100644 --- a/internal/cache/systype/systype64.go +++ b/internal/cache/systype/systype64.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// //go:build amd64 || arm64 || mips64 || mips64le || ppc64 || ppc64le || riscv64 || s390x || loong64 // +build amd64 arm64 mips64 mips64le ppc64 ppc64le riscv64 s390x loong64 diff --git a/internal/cache/systype/systype_test.go b/internal/cache/systype/systype_test.go index e2ed929..8f6337a 100644 --- a/internal/cache/systype/systype_test.go +++ b/internal/cache/systype/systype_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package systype_test diff --git a/internal/iovec/iovec.go b/internal/iovec/iovec.go index 480ba14..5cb9d07 100644 --- a/internal/iovec/iovec.go +++ b/internal/iovec/iovec.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package iovec provides utilities to work with unix.Iovec. package iovec diff --git a/internal/iovec/iovec32.go b/internal/iovec/iovec32.go index cce425e..e1e3184 100644 --- a/internal/iovec/iovec32.go +++ b/internal/iovec/iovec32.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// //go:build 386 || arm || wasm || mips || mipsle // +build 386 arm wasm mips mipsle diff --git a/internal/iovec/iovec64.go b/internal/iovec/iovec64.go index 5405691..2d99882 100644 --- a/internal/iovec/iovec64.go +++ b/internal/iovec/iovec64.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// //go:build amd64 || arm64 || loong64 || mips64 || mips64le || ppc64 || ppc64le || riscv64 || s390x // +build amd64 arm64 loong64 mips64 mips64le ppc64 ppc64le riscv64 s390x diff --git a/internal/iovec/iovec_test.go b/internal/iovec/iovec_test.go index a051ffb..59741f3 100644 --- a/internal/iovec/iovec_test.go +++ b/internal/iovec/iovec_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package iovec_test diff --git a/internal/iovec/options.go b/internal/iovec/options.go index ba2e3c3..c7c7dc8 100644 --- a/internal/iovec/options.go +++ b/internal/iovec/options.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package iovec diff --git a/internal/locker/locker.go b/internal/locker/locker.go index 2f07392..650ae8a 100644 --- a/internal/locker/locker.go +++ b/internal/locker/locker.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package locker provides locking utilities. package locker diff --git a/internal/locker/locker_test.go b/internal/locker/locker_test.go index faf7f3d..49b67a6 100644 --- a/internal/locker/locker_test.go +++ b/internal/locker/locker_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package locker_test diff --git a/internal/netutil/addr.go b/internal/netutil/addr.go index 5ea248e..7e963a9 100644 --- a/internal/netutil/addr.go +++ b/internal/netutil/addr.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Copyright (c) 2019 Andy Pan // diff --git a/internal/netutil/addr_test.go b/internal/netutil/addr_test.go index c1cb18b..7e1b54f 100644 --- a/internal/netutil/addr_test.go +++ b/internal/netutil/addr_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Copyright (c) 2019 Andy Pan // diff --git a/internal/netutil/fd.go b/internal/netutil/fd.go index 490daf1..e82afb7 100644 --- a/internal/netutil/fd.go +++ b/internal/netutil/fd.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package netutil provides network netutil functions. diff --git a/internal/netutil/fd_test.go b/internal/netutil/fd_test.go index 170ec91..ed88edf 100644 --- a/internal/netutil/fd_test.go +++ b/internal/netutil/fd_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// //go:build linux || freebsd || dragonfly || darwin // +build linux freebsd dragonfly darwin diff --git a/internal/netutil/keepalive_darwin.go b/internal/netutil/keepalive_darwin.go index b98a878..3e18c7b 100644 --- a/internal/netutil/keepalive_darwin.go +++ b/internal/netutil/keepalive_darwin.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// //go:build darwin // +build darwin diff --git a/internal/netutil/keepalive_test.go b/internal/netutil/keepalive_test.go index a6324cf..adcf03d 100644 --- a/internal/netutil/keepalive_test.go +++ b/internal/netutil/keepalive_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package netutil_test diff --git a/internal/netutil/keepalive_unix.go b/internal/netutil/keepalive_unix.go index a42af81..4eb839e 100644 --- a/internal/netutil/keepalive_unix.go +++ b/internal/netutil/keepalive_unix.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// //go:build linux || freebsd || dragonfly // +build linux freebsd dragonfly diff --git a/internal/netutil/sock_cloexec.go b/internal/netutil/sock_cloexec.go index 02ecba2..3772a15 100644 --- a/internal/netutil/sock_cloexec.go +++ b/internal/netutil/sock_cloexec.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// //go:build dragonfly || freebsd || illumos || linux || netbsd || openbsd // +build dragonfly freebsd illumos linux netbsd openbsd diff --git a/internal/netutil/sock_cloexec_test.go b/internal/netutil/sock_cloexec_test.go index e2a0f87..24f19c5 100644 --- a/internal/netutil/sock_cloexec_test.go +++ b/internal/netutil/sock_cloexec_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package netutil_test diff --git a/internal/netutil/sys_cloexec.go b/internal/netutil/sys_cloexec.go index 3f1b3f5..f23ab21 100644 --- a/internal/netutil/sys_cloexec.go +++ b/internal/netutil/sys_cloexec.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// //go:build aix || darwin || (js && wasm) || (solaris && !illumos) // +build aix darwin js,wasm solaris,!illumos diff --git a/internal/poller/desc.go b/internal/poller/desc.go index b59c19c..266b6e7 100644 --- a/internal/poller/desc.go +++ b/internal/poller/desc.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package poller diff --git a/internal/poller/desc_cache.go b/internal/poller/desc_cache.go index 0898a94..d84ade9 100644 --- a/internal/poller/desc_cache.go +++ b/internal/poller/desc_cache.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package poller diff --git a/internal/poller/loadbalance.go b/internal/poller/loadbalance.go index 1cc5a67..a43c818 100644 --- a/internal/poller/loadbalance.go +++ b/internal/poller/loadbalance.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package poller diff --git a/internal/poller/loadbalance_roundrobin.go b/internal/poller/loadbalance_roundrobin.go index a4552b9..e7ab3de 100644 --- a/internal/poller/loadbalance_roundrobin.go +++ b/internal/poller/loadbalance_roundrobin.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package poller diff --git a/internal/poller/loadbalance_test.go b/internal/poller/loadbalance_test.go index c24394c..65b5780 100644 --- a/internal/poller/loadbalance_test.go +++ b/internal/poller/loadbalance_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package poller_test diff --git a/internal/poller/poller.go b/internal/poller/poller.go index 8660e95..935faa0 100644 --- a/internal/poller/poller.go +++ b/internal/poller/poller.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package poller provides event driven polling system to monitor file description events. package poller diff --git a/internal/poller/poller_epoll.go b/internal/poller/poller_epoll.go index 5e5db02..d1635c0 100644 --- a/internal/poller/poller_epoll.go +++ b/internal/poller/poller_epoll.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// //go:build linux // +build linux diff --git a/internal/poller/poller_epoll_test.go b/internal/poller/poller_epoll_test.go index 8ae2029..2b21569 100644 --- a/internal/poller/poller_epoll_test.go +++ b/internal/poller/poller_epoll_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// //go:build linux // +build linux diff --git a/internal/poller/poller_kqueue.go b/internal/poller/poller_kqueue.go index 671c31e..7ae5f1c 100644 --- a/internal/poller/poller_kqueue.go +++ b/internal/poller/poller_kqueue.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// //go:build freebsd || dragonfly || darwin // +build freebsd dragonfly darwin diff --git a/internal/poller/poller_kqueue32.go b/internal/poller/poller_kqueue32.go index 4a0d4fa..1e54e51 100644 --- a/internal/poller/poller_kqueue32.go +++ b/internal/poller/poller_kqueue32.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// //go:build (freebsd || dragonfly || darwin) && (386 || arm) // +build freebsd dragonfly darwin diff --git a/internal/poller/poller_kqueue64.go b/internal/poller/poller_kqueue64.go index 431d1fc..edb4be7 100644 --- a/internal/poller/poller_kqueue64.go +++ b/internal/poller/poller_kqueue64.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// //go:build (freebsd || dragonfly || darwin) && (amd64 || arm64) // +build freebsd dragonfly darwin diff --git a/internal/poller/poller_kqueue_test.go b/internal/poller/poller_kqueue_test.go index afef2da..5b44a69 100644 --- a/internal/poller/poller_kqueue_test.go +++ b/internal/poller/poller_kqueue_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// //go:build freebsd || dragonfly || darwin // +build freebsd dragonfly darwin diff --git a/internal/poller/pollmgr.go b/internal/poller/pollmgr.go index 7e1a0f7..31fca7a 100644 --- a/internal/poller/pollmgr.go +++ b/internal/poller/pollmgr.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package poller diff --git a/internal/poller/pollmgr_test.go b/internal/poller/pollmgr_test.go index c26b8a7..6e9940f 100644 --- a/internal/poller/pollmgr_test.go +++ b/internal/poller/pollmgr_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package poller_test diff --git a/internal/reuseport/reuseport.go b/internal/reuseport/reuseport.go index 2e9bcd3..245d908 100644 --- a/internal/reuseport/reuseport.go +++ b/internal/reuseport/reuseport.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package reuseport diff --git a/internal/reuseport/reuseport_test.go b/internal/reuseport/reuseport_test.go index 06ce25c..4dcd984 100644 --- a/internal/reuseport/reuseport_test.go +++ b/internal/reuseport/reuseport_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package reuseport diff --git a/internal/safejob/concurrent.go b/internal/safejob/concurrent.go index 21942ce..029a280 100644 --- a/internal/safejob/concurrent.go +++ b/internal/safejob/concurrent.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package safejob diff --git a/internal/safejob/concurrent_test.go b/internal/safejob/concurrent_test.go index 99ec01d..30bfc4e 100644 --- a/internal/safejob/concurrent_test.go +++ b/internal/safejob/concurrent_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package safejob_test diff --git a/internal/safejob/exclusive.go b/internal/safejob/exclusive.go index a7cef89..c7ee087 100644 --- a/internal/safejob/exclusive.go +++ b/internal/safejob/exclusive.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package safejob diff --git a/internal/safejob/exclusive_test.go b/internal/safejob/exclusive_test.go index 67382a5..481fea8 100644 --- a/internal/safejob/exclusive_test.go +++ b/internal/safejob/exclusive_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package safejob_test diff --git a/internal/safejob/job.go b/internal/safejob/job.go index e4904a7..3998818 100644 --- a/internal/safejob/job.go +++ b/internal/safejob/job.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package safejob provides functions to call job in a concurrent-safe manner. package safejob diff --git a/internal/safejob/once.go b/internal/safejob/once.go index 95ece72..06f5256 100644 --- a/internal/safejob/once.go +++ b/internal/safejob/once.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package safejob diff --git a/internal/safejob/once_test.go b/internal/safejob/once_test.go index be47f92..09c68ac 100644 --- a/internal/safejob/once_test.go +++ b/internal/safejob/once_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package safejob_test diff --git a/internal/timer/timer.go b/internal/timer/timer.go index f664be3..a7e752a 100644 --- a/internal/timer/timer.go +++ b/internal/timer/timer.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package timer provides functions of timer. package timer diff --git a/internal/timer/timer_test.go b/internal/timer/timer_test.go index 598728e..a86386e 100644 --- a/internal/timer/timer_test.go +++ b/internal/timer/timer_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package timer_test diff --git a/metrics/metric.go b/metrics/metric.go index 16ef396..5c2fba5 100644 --- a/metrics/metric.go +++ b/metrics/metric.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package metrics provides a lot of tnet runtime monitoring data, // such as monitoring the efficiency of batch reads and writes, diff --git a/metrics/metric_test.go b/metrics/metric_test.go index 19c8216..373ff98 100644 --- a/metrics/metric_test.go +++ b/metrics/metric_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package metrics_test diff --git a/netfd.go b/netfd.go index 334b0fd..163938e 100644 --- a/netfd.go +++ b/netfd.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet diff --git a/netfd_bsd.go b/netfd_bsd.go index 3704c98..e40fbe8 100644 --- a/netfd_bsd.go +++ b/netfd_bsd.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// //go:build freebsd || dragonfly || darwin // +build freebsd dragonfly darwin diff --git a/netfd_linux.go b/netfd_linux.go index 6a5183b..9657a06 100644 --- a/netfd_linux.go +++ b/netfd_linux.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// //go:build linux // +build linux diff --git a/netfd_test.go b/netfd_test.go index 99ac71d..02f4b12 100644 --- a/netfd_test.go +++ b/netfd_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet diff --git a/options.go b/options.go index b23303c..037cb97 100644 --- a/options.go +++ b/options.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet diff --git a/options_test.go b/options_test.go index d0be105..4f75172 100644 --- a/options_test.go +++ b/options_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet diff --git a/taskpool.go b/taskpool.go index 608c949..1bc52a1 100644 --- a/taskpool.go +++ b/taskpool.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet diff --git a/taskpool_test.go b/taskpool_test.go index 16307dc..9833c47 100644 --- a/taskpool_test.go +++ b/taskpool_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet_test diff --git a/tcpconn.go b/tcpconn.go index 8aa5e3d..51ff4ae 100644 --- a/tcpconn.go +++ b/tcpconn.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet diff --git a/tcpconn_test.go b/tcpconn_test.go index 163bc16..aa656f3 100644 --- a/tcpconn_test.go +++ b/tcpconn_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet_test diff --git a/tcplistener.go b/tcplistener.go index dbc1254..0a20e61 100644 --- a/tcplistener.go +++ b/tcplistener.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet diff --git a/tcplistener_test.go b/tcplistener_test.go index c439b4f..623ab1b 100644 --- a/tcplistener_test.go +++ b/tcplistener_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet diff --git a/tcpservice.go b/tcpservice.go index 03a6029..b259e1b 100644 --- a/tcpservice.go +++ b/tcpservice.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet diff --git a/tcpservice_test.go b/tcpservice_test.go index dfd3e55..2c53a68 100644 --- a/tcpservice_test.go +++ b/tcpservice_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet_test diff --git a/tls/client.go b/tls/client.go index ff51c43..f93a546 100644 --- a/tls/client.go +++ b/tls/client.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tls diff --git a/tls/conn.go b/tls/conn.go index 247b864..6267c4a 100644 --- a/tls/conn.go +++ b/tls/conn.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tls diff --git a/tls/examples/echo/client/main.go b/tls/examples/echo/client/main.go index 77ae769..5e9f09f 100644 --- a/tls/examples/echo/client/main.go +++ b/tls/examples/echo/client/main.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package main is the main package. package main diff --git a/tls/examples/echo/server/main.go b/tls/examples/echo/server/main.go index 674bd0a..1b09c55 100644 --- a/tls/examples/echo/server/main.go +++ b/tls/examples/echo/server/main.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package main is the main package. package main diff --git a/tls/options.go b/tls/options.go index 10d96b2..21227e2 100644 --- a/tls/options.go +++ b/tls/options.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tls diff --git a/tls/server.go b/tls/server.go index d5de908..883b8f5 100644 --- a/tls/server.go +++ b/tls/server.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tls diff --git a/tls/tls.go b/tls/tls.go index 0729efc..e9ad50e 100644 --- a/tls/tls.go +++ b/tls/tls.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package tls provides tls connection utilities. package tls diff --git a/tls/tls_test.go b/tls/tls_test.go index 7988c09..21102b0 100644 --- a/tls/tls_test.go +++ b/tls/tls_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tls_test diff --git a/tnet.go b/tnet.go index 54273ad..bb5aa44 100644 --- a/tnet.go +++ b/tnet.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// // Package tnet provides event loop networking framework. package tnet diff --git a/udpconn.go b/udpconn.go index 3fe7f88..8ddf461 100644 --- a/udpconn.go +++ b/udpconn.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet diff --git a/udpconn_test.go b/udpconn_test.go index 7f27bb1..d7fd131 100644 --- a/udpconn_test.go +++ b/udpconn_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet_test diff --git a/udpservice.go b/udpservice.go index 0b23e29..ac83e13 100644 --- a/udpservice.go +++ b/udpservice.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet diff --git a/udpservice_test.go b/udpservice_test.go index e3ec15d..dc6c35a 100644 --- a/udpservice_test.go +++ b/udpservice_test.go @@ -1,8 +1,15 @@ -// Tencent is pleased to support the open source community by making tnet available. -// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved. +// +// +// 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 tnet source code is licensed under the Apache 2.0 License, -// A copy of the Apache 2.0 License can be found in the LICENSE file. +// please note that tRPC source code is licensed under the Apache 2.0 License, +// A copy of the Apache 2.0 License is included in this file. +// +// package tnet_test