Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Marshaller ¶
type Marshaller interface { // Marshal converts a request object to a JSON string. Marshal(interface{}) (string, error) // Unmarshal converts a JSON string to a response object. Unmarshal(string, interface{}) error // UnmarshalFromReader converts the contents from an io.Reader to a response object. UnmarshalFromReader(io.Reader, interface{}) error }
Marshaller is the interface used to marshal and unmarshal Worldline Global Collect platform request and response objects to and from JSON. Thread-safe.
func DefaultMarshaller ¶
func DefaultMarshaller() Marshaller
DefaultMarshaller returns the default implementation of the JSON Marshaller
Click to show internal directories.
Click to hide internal directories.