Documentation
¶
Overview ¶
Package msgpack provides shared encoding settings and errors used by generated code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUndefinedType = errors.New("undefined type")
ErrUndefinedType is returned by generated code when the value type is not handled by generated serializers.
Functions ¶
func SetComplexTypeCode ¶
func SetComplexTypeCode(code int8)
SetComplexTypeCode sets def.complexTypeCode in github.com/shamaton/msgpack
func SetStructAsArray ¶
func SetStructAsArray(on bool)
SetStructAsArray sets default encoding option. If this option sets true, default encoding sets to array-format.
func StructAsArray ¶
func StructAsArray() bool
StructAsArray gets default encoding option. If this option sets true, default encoding sets to array-format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.