Documentation ¶
Index ¶
- Variables
- type Mgr
- func (m *Mgr) Close() error
- func (m *Mgr) GetContent(name, id string) ([]byte, error)
- func (m *Mgr) GetHistory(name string) []string
- func (m *Mgr) GetState(name string) ([]byte, error)
- func (m *Mgr) GetStates() []string
- func (m *Mgr) Init(cfg config.Config) error
- func (m *Mgr) LockState(name string) error
- func (m *Mgr) PutState(name string, content []byte) error
- func (m *Mgr) UnlockState(name string) error
- type State
Constants ¶
This section is empty.
Variables ¶
View Source
var AlreadyLocked = errors.New("state is already locked")
Functions ¶
This section is empty.
Types ¶
type Mgr ¶
type Mgr struct {
// contains filtered or unexported fields
}
func (*Mgr) GetHistory ¶
func (*Mgr) UnlockState ¶
Click to show internal directories.
Click to hide internal directories.