Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*options)
Option is the interface to apply options.
func WithMaxMessageSize ¶ added in v0.3.3
WithMaxMessageSize sets the server max receive message size and the server max send message size to the given size.
func WithServerInfoFilePath ¶ added in v0.4.4
WithServerInfoFilePath sets the server info file path to the given path.
func WithServerInfoReadinessTimeout ¶ added in v0.4.5
WithServerInfoReadinessTimeout sets the server info readiness timeout to the given timeout.
func WithTcpSockAddr ¶ added in v0.4.5
WithTcpSockAddr start the client with the given TCP sock addr. This is mainly used for testing purpose.
func WithUdsSockAddr ¶ added in v0.4.5
WithUdsSockAddr start the client with the given UDS sock addr. This is mainly used for testing purpose.
Click to show internal directories.
Click to hide internal directories.