Documentation ¶
Overview ¶
Package memory implements a simple in-memory transaction store.
Index ¶
- type Store
- func (s *Store) Close() (err error)
- func (s *Store) Delete(name string) (err error)
- func (s *Store) Get(name string) (config transaction.Config, err error)
- func (s *Store) Has(name string) (exists bool, err error)
- func (s *Store) Iter(callback func(name string, config transaction.Config) (proceed bool)) (err error)
- func (s *Store) Set(name string, config transaction.Config) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a in memory transaction config store
func (*Store) Get ¶
func (s *Store) Get(name string) (config transaction.Config, err error)
Get a transaction config from the store
Click to show internal directories.
Click to hide internal directories.