Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct { // Identifier is how the client refers to the object. Identifier string `json:"identifier"` // Data is an abstract json object Data map[string]interface{} `json:"data"` // TTL is the time to live in storage. If not provided and if the storage requires it the default configuration will be used. TTL int64 `json:"ttl,omitempty"` }
Item defines the abstract item to be stored.
Click to show internal directories.
Click to hide internal directories.