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.2.4
WithMaxMessageSize sets the server max receive message size and the server max send message size to the given size.
func WithSockAddr ¶
WithSockAddr start the server with the given sock addr. This is mainly used for testing purpose.
Click to show internal directories.
Click to hide internal directories.