Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Host string Port int Timeout time.Duration MaxRetryTimes int RetryDuration time.Duration // contains filtered or unexported fields }
func NewClient ¶
https://www.sohamkamani.com/golang/options-pattern/ https://lingchao.xin/post/functional-options-pattern-in-go.html NewBaseClient 创建BaseClient实例
Click to show internal directories.
Click to hide internal directories.