Documentation ¶
Index ¶
- type Cache
- type LocalManager
- func (l *LocalManager) Create(t Type, path Path, value Value) error
- func (l *LocalManager) Delete(t Type) error
- func (l *LocalManager) DeleteAll() error
- func (l *LocalManager) Get(t Type, path Path, withValue bool) (*Cache, error)
- func (l *LocalManager) List(t Type, withValue bool) ([]*Cache, error)
- func (l *LocalManager) ListAll(withValue bool) ([]*Cache, error)
- func (l *LocalManager) Update(t Type, path Path, value Value) error
- type Manager
- type NodeCache
- func (n *NodeCache) Create(t Type, path Path, value Value) error
- func (n *NodeCache) Delete(t Type) error
- func (n *NodeCache) DeleteAll() error
- func (n *NodeCache) Get(t Type, path Path, withValue bool) (*Cache, error)
- func (n *NodeCache) List(t Type, withValue bool) ([]*Cache, error)
- func (n *NodeCache) ListAll(withValue bool) ([]*Cache, error)
- func (n *NodeCache) Update(t Type, path Path, value Value) error
- type Path
- type Type
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalManager ¶
type LocalManager struct {
// contains filtered or unexported fields
}
func (*LocalManager) Delete ¶
func (l *LocalManager) Delete(t Type) error
func (*LocalManager) DeleteAll ¶
func (l *LocalManager) DeleteAll() error
type Manager ¶
type Manager interface { Create(t Type, path Path, value Value) error Update(t Type, path Path, value Value) error Get(t Type, path Path, withValue bool) (*Cache, error) List(t Type, withValue bool) ([]*Cache, error) ListAll(withValue bool) ([]*Cache, error) Delete(t Type) error DeleteAll() error }
func DefaultManagers ¶
func NewLocalManager ¶
func NewNodeCache ¶
Click to show internal directories.
Click to hide internal directories.