Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Serializer ¶
type Serializer interface {
Marshaler
Unmarshaler
}
Serializer is the interface that groups the basic Marshal and Unmarshal methods.
type SerializerType ¶
type SerializerType uint32
const ( Auto SerializerType = iota JSON Protobuf RawString )
func (SerializerType) Serializer ¶
func (t SerializerType) Serializer() Serializer
func (SerializerType) String ¶
func (t SerializerType) String() string
type Unmarshaler ¶
Unmarshaler represents a Unmarshal interface
Click to show internal directories.
Click to hide internal directories.