Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorFormat = fmt.Errorf("format error") ErrorNoSerializer = fmt.Errorf("message is not serializable") )
Functions ¶
func GetFormats ¶
func GetFormats() []string
func RegisterFormatDriver ¶
func RegisterFormatDriver(name string, t FormatDriver)
Types ¶
type DriverFormatError ¶
func (*DriverFormatError) Error ¶
func (e *DriverFormatError) Error() string
func (*DriverFormatError) Unwrap ¶
func (e *DriverFormatError) Unwrap() []error
type Format ¶
type Format struct { FormatDriver // contains filtered or unexported fields }
func FindFormat ¶
type FormatDriver ¶
type FormatInterface ¶
Click to show internal directories.
Click to hide internal directories.