protobuf

package
v1.8.8 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 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 Fields added in v1.6.3

type Fields map[protowire.Number]interface{}

func NewFields added in v1.8.8

func NewFields(buf []byte) Fields

Convert byte slice to map

func (Fields) Struct added in v1.8.8

func (f Fields) Struct(val interface{}) error

Convert map to struct

type Records added in v1.8.8

type Records map[string]interface{}

func NewRecords added in v1.8.8

func NewRecords(val interface{}) (Records, error)

Convert struct to map

func (Records) Bytes added in v1.8.8

func (r Records) 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