README ¶ Protobuf https://github.com/golang/protobuf/issues/1370 https://stackoverflow.com/questions/26744873/converting-map-to-struct https://stackoverflow.com/questions/41348512/protobuf-unmarshal-unknown Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Message func Decode(src io.Reader) (Message, error) func Unmarshal(buf []byte) Message func (m Message) Encode() io.Reader func (m Message) Marshal() []byte func (m Message) MarshalJSON() ([]byte, error) func (m *Message) UnmarshalJSON(buf []byte) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Message ¶ added in v1.6.6 type Message map[protowire.Number]interface{} func Decode ¶ added in v1.6.9 func Decode(src io.Reader) (Message, error) func Unmarshal ¶ added in v1.9.7 func Unmarshal(buf []byte) Message func (Message) Encode ¶ added in v1.9.7 func (m Message) Encode() io.Reader func (Message) Marshal ¶ added in v1.6.6 func (m Message) Marshal() []byte func (Message) MarshalJSON ¶ added in v1.9.5 func (m Message) MarshalJSON() ([]byte, error) func (*Message) UnmarshalJSON ¶ added in v1.9.4 func (m *Message) UnmarshalJSON(buf []byte) error Source Files ¶ View all Source files protobuf.go Click to show internal directories. Click to hide internal directories.