Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageValue ¶
type MessageValue struct { Operation MessageValue_OPERATION `json:"operation,omitempty"` Key string `json:"key,omitempty"` Value string `json:"value,omitempty"` Expiration int64 `json:"expiration,omitempty"` // contains filtered or unexported fields }
type MessageValue_OPERATION ¶
type MessageValue_OPERATION int32
const (
MessageValue_CAS MessageValue_OPERATION = 0
)
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
type UniqueStorage ¶
type UniqueStorage struct {
Items map[string]*UniqueStorageValue `json:"items,omitempty"`
}
func (*UniqueStorage) Persist ¶
func (f *UniqueStorage) Persist(sink raft.SnapshotSink) error
func (*UniqueStorage) Release ¶
func (f *UniqueStorage) Release()
type UniqueStorageValue ¶
Click to show internal directories.
Click to hide internal directories.