Documentation
¶
Index ¶
- type Item
- type Manager
- func (m *Manager) Close() error
- func (m *Manager) DB(ctx context.Context) QueryManager
- func (m *Manager) Delete(key []byte) error
- func (m *Manager) GC()
- func (m *Manager) Get(key []byte) (data []byte, err error)
- func (m *Manager) GetAll(prefix []byte) (items []Item, err error)
- func (m *Manager) RunTransaction(ctx context.Context, fn transactor.TransactionFn) error
- func (m *Manager) Set(key []byte, val []byte) error
- type Provider
- type QueryManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) RunTransaction ¶
func (m *Manager) RunTransaction(ctx context.Context, fn transactor.TransactionFn) error
type Provider ¶
type Provider interface {
transactor.Transactor
DB(ctx context.Context) QueryManager
}
Click to show internal directories.
Click to hide internal directories.