Documentation
¶
Index ¶
- func Marshal(v any) ([]byte, error)
- func SendMessage(ctx context.Context, conn net.Conn, msg *Message) error
- func SetMarshaller(marshaller MarshallerFunc)
- func SetUnmarshaller(unmarshaller UnmarshallerFunc)
- func Unmarshal(data []byte, v any) error
- type MarshallerFunc
- type Message
- type UnmarshallerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetMarshaller ¶
func SetMarshaller(marshaller MarshallerFunc)
func SetUnmarshaller ¶
func SetUnmarshaller(unmarshaller UnmarshallerFunc)
Types ¶
type MarshallerFunc ¶
Click to show internal directories.
Click to hide internal directories.