Documentation ¶
Index ¶
- Variables
- func MarshalBinaryBare(o interface{}) ([]byte, error)
- func MarshalJSON(o interface{}) ([]byte, error)
- func MustMarshalJSON(o interface{}) []byte
- func RegisterConcrete(o interface{}, name string, copts *amino.ConcreteOptions)
- func RegisterInterface(ptr interface{}, iopts *amino.InterfaceOptions)
- func UnmarshalBinaryBare(bz []byte, ptr interface{}) error
- func UnmarshalJSON(bz []byte, ptr interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Codec = amino.NewCodec()
Codec is a general codec where every data structs needs to register to
Functions ¶
func MarshalBinaryBare ¶
MarshalBinaryBare https://godoc.org/github.com/tendermint/go-amino#Codec.MarshalBinaryBare
func MustMarshalJSON ¶
func MustMarshalJSON(o interface{}) []byte
MustMarshalJSON https://godoc.org/github.com/tendermint/go-amino#Codec.MustMarshalJSON
func RegisterConcrete ¶
func RegisterConcrete(o interface{}, name string, copts *amino.ConcreteOptions)
RegisterConcrete https://godoc.org/github.com/tendermint/go-amino#Codec.RegisterConcrete
func RegisterInterface ¶
func RegisterInterface(ptr interface{}, iopts *amino.InterfaceOptions)
RegisterInterface https://godoc.org/github.com/tendermint/go-amino#Codec.RegisterInterface
func UnmarshalBinaryBare ¶
UnmarshalBinaryBare https://godoc.org/github.com/tendermint/go-amino#Codec.UnmarshalBinaryBare
func UnmarshalJSON ¶
UnmarshalJSON https://godoc.org/github.com/tendermint/go-amino#Codec.UnmarshalJSON
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.