Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientOption ¶
type ClientOption func(*ClientSettings)
func WithClientMarshalBinary ¶
func WithClientMarshalBinary(f func(any) ([]byte, error)) ClientOption
type ClientSettings ¶
func NewClientSettings ¶
func NewClientSettings() *ClientSettings
type HandlerOption ¶
type HandlerOption func(*HandlerSettings)
func WithHandlerUnmarshalBinary ¶
func WithHandlerUnmarshalBinary(f func([]byte, any) error) HandlerOption
type HandlerSettings ¶
type HandlerSettings struct { // UnmarshalBinary parses the binary data and stores the result // in the value pointed to by v. UnmarshalBinary func([]byte, any) error }
func NewHandlerSettings ¶
func NewHandlerSettings() *HandlerSettings
Click to show internal directories.
Click to hide internal directories.