2 Star 2 Fork 3

trackertrader/rpcx

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
options.go 219 Bytes
Copy Edit Raw Blame History
kevinyang authored 2021-07-05 10:32 +08:00 . add
package server
import "time"
// WithTCPKeepAlivePeriod sets tcp keepalive period.
func WithTCPKeepAlivePeriod(period time.Duration) OptionFn {
return func(s *Server) {
s.options["TCPKeepAlivePeriod"] = period
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/trackertrader/rpcx.git
git@gitee.com:trackertrader/rpcx.git
trackertrader
rpcx
rpcx
v1.1.6

Search