Documentation ¶
Index ¶
- type State
- func (f *State) Close() error
- func (f *State) Delete(key string) error
- func (f *State) DeleteAll() error
- func (f *State) Exists(key string) bool
- func (f *State) Flush() error
- func (f *State) Get(key string, val interface{}) (bool, error)
- func (f *State) Set(key string, value interface{}) error
- func (f *State) SetWithExpires(key string, value interface{}, expiry time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
State is a simple file backed state store
Click to show internal directories.
Click to hide internal directories.