Documentation ¶
Index ¶
- func DecodeBinary(data []byte, model encoding.BinaryUnmarshaler) error
- func DecodeJSON(data []byte, model interface{}) error
- func DecodeRaw(data []byte, model interface{}) error
- func EncodeBinary(model encoding.BinaryMarshaler) ([]byte, error)
- func EncodeJSON(model interface{}) ([]byte, error)
- func EncodeRaw(model interface{}) ([]byte, error)
- func GetFD(c net.Conn) int
- func RandomPort(host string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeBinary ¶
func DecodeBinary(data []byte, model encoding.BinaryUnmarshaler) error
func DecodeJSON ¶
func EncodeBinary ¶
func EncodeBinary(model encoding.BinaryMarshaler) ([]byte, error)
func EncodeJSON ¶
func RandomPort ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.