package
4.2.0+incompatible
Repository: https://github.com/bnyu/erpc.git
Documentation: pkg.go.dev

# Functions

Get returns Codec by id.
GetByName returns Codec by name.
Marshal returns the encoding of v.
MarshalByName returns the encoding of v.
ProtoMarshal returns the Protobuf encoding of v.
ProtoUnmarshal parses the Protobuf-encoded data and stores the result in the value pointed to by v.
Reg registers Codec.
Unmarshal parses the encoded data and stores the result in the value pointed to by v.
UnmarshalByName parses the encoded data and stores the result in the value pointed to by v.

# Constants

form(url encode) codec name and id.
json codec name and id.
plain text codec name and id.
protobuf codec name and id.
form(url encode) codec name and id.
json codec name and id.
plain text codec name and id.
protobuf codec name and id.
NilCodecId empty codec id.
NilCodecName empty codec name.

# Variables

EmptyStruct empty struct for protobuf.
No description provided by the author
No description provided by the author

# Structs

FormCodec url encode codec.
JsonCodec json codec.
No description provided by the author
PlainCodec plain text codec.
ProtoCodec protobuf codec.

# Interfaces

Codec makes the body's Encoder and Decoder.