Documentation ¶
Index ¶
- type Entry
- func (e *Entry) Decode(buf []byte)
- func (e *Entry) Encode() []byte
- func (e *Entry) Key() string
- func (e *Entry) LastAccess() int64
- func (e *Entry) SetKey(key string)
- func (e *Entry) SetLastAccess(lastAccess int64)
- func (e *Entry) SetTTL(ttl int64)
- func (e *Entry) SetTimestamp(timestamp int64)
- func (e *Entry) SetValue(value []byte)
- func (e *Entry) TTL() int64
- func (e *Entry) Timestamp() int64
- func (e *Entry) Value() []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
// contains filtered or unexported fields
}
Entry represents a value with its metadata.
func (*Entry) LastAccess ¶
func (*Entry) SetLastAccess ¶
func (*Entry) SetTimestamp ¶
Click to show internal directories.
Click to hide internal directories.