Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder interface { // Encode returns the encoded/marshaled version of item Encode(item interface{}) ([]byte, error) // Decode decodes the MessagePack-encoded data and stores the result // in the value pointed to by v. Decode(data []byte, destination interface{}) error }
Encoder represents an interface that exposes functionality to encode and decode non-numeric or boolean cache entries
type JSON ¶
type JSON struct{}
JSON is an Encoder implementation for the encoding/json package
type Msgpack ¶
type Msgpack struct{}
Msgpack is an Encoder implementation for the msgpack package. To learn more about msgpack please see: https://msgpack.uptrace.dev
Click to show internal directories.
Click to hide internal directories.