Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Marshaler ¶
func NewJSONMarshaler ¶
func NewJSONMarshaler() *Marshaler
func NewXMLMarshaler ¶
func NewXMLMarshaler() *Marshaler
type Responser ¶
type Responser interface { // SetPayload - sets response payload into object. SetPayload(payload interface{}) // SetError - sets error response into object. SetError(err error) }
type Unmarshaler ¶
Marshaler func(interface{}) ([]byte, error).
Click to show internal directories.
Click to hide internal directories.