Documentation ¶ Index ¶ type Codec Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Codec ¶ type Codec interface { Marshal(interface{}) ([]byte, error) Unmarshal([]byte, interface{}) error String() string } Codec is used for encoding where the broker doesn't natively support headers in the message type. In this case the entire message is encoded as the payload Source Files ¶ View all Source files codec.go Directories ¶ Show internal Expand all Path Synopsis json noop Click to show internal directories. Click to hide internal directories.