Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*option)
Option how setup client
func WithCredential ¶
func WithCredential(credential credentials.TransportCredentials) Option
WithCredential setup credential for tls
func WithDialTimeout ¶
WithDialTimeout setup the dial timeout
func WithKeepAlive ¶
func WithKeepAlive(keepalive *keepalive.ClientParameters) Option
WithKeepAlive setup keepalive parameters
Click to show internal directories.
Click to hide internal directories.