protobuf

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: OSL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NumberMap added in v1.8.0

type NumberMap map[protowire.Number]interface{}

func NewNumberMap added in v1.8.0

func NewNumberMap(buf []byte) NumberMap

Convert byte slice to map

func (NumberMap) Struct added in v1.8.0

func (n NumberMap) Struct(val interface{}) error

Convert map to struct

type StringMap added in v1.8.0

type StringMap map[string]interface{}

func NewStringMap added in v1.8.0

func NewStringMap(val interface{}) (StringMap, error)

Convert struct to map

func (StringMap) Bytes added in v1.8.0

func (s StringMap) Bytes() ([]byte, error)

Convert map to byte slice

Jump to

Keyboard shortcuts

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