server

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeBinary

func DecodeBinary(data []byte, model encoding.BinaryUnmarshaler) error

func DecodeJSON

func DecodeJSON(data []byte, model interface{}) error

func DecodeRaw

func DecodeRaw(data []byte, model interface{}) error

func EncodeBinary

func EncodeBinary(model encoding.BinaryMarshaler) ([]byte, error)

func EncodeJSON

func EncodeJSON(model interface{}) ([]byte, error)

func EncodeRaw

func EncodeRaw(model interface{}) ([]byte, error)

func GetFD

func GetFD(c net.Conn) int

func RandomPort

func RandomPort(host string) (string, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL