Documentation ¶
Index ¶
- Constants
- Variables
- func Marshal(protocol string, b interface{}) ([]byte, error)
- func RegQueryUnmarshaler(endpoint string, d *schema.Decoder)
- func StreamRead(r io.Reader) (uint8, []byte, error)
- func StreamWrite(cf uint8, buf []byte, w io.Writer) error
- func Unmarshal(protocol string, buff []byte, payload *micro.Response) error
- func UnmarshalQuery(endpoint string, src map[string][]string, dst interface{}) error
Constants ¶
View Source
const (
MaxMessageSize = 1024 * 1024 * 4 // 4Mb
)
Variables ¶
View Source
var (
DefaultQueryUnmarshaler = schema.NewDecoder()
)
View Source
var (
ErrInvalidMessage = errors.New("invalid message")
)
Functions ¶
func RegQueryUnmarshaler ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.