msgpack

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: MIT Imports: 2 Imported by: 11

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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