Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdaptersProvider ¶
type AdaptersProvider interface {
Provide(tx *bolt.Tx) (*application.TransactableAdapters, error)
}
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func NewDatabase ¶
func (*Database) Browse ¶
func (d *Database) Browse(path []application.Key, before, after, from *application.Key) ([]application.Entry, error)
type TransactionProvider ¶
type TransactionProvider struct {
// contains filtered or unexported fields
}
func NewTransactionProvider ¶
func NewTransactionProvider( db *bolt.DB, provider AdaptersProvider, ) *TransactionProvider
func (*TransactionProvider) Read ¶
func (p *TransactionProvider) Read(handler application.TransactionHandler) error
func (*TransactionProvider) Write ¶
func (p *TransactionProvider) Write(handler application.TransactionHandler) error
type UUIDGenerator ¶
type UUIDGenerator struct {
// contains filtered or unexported fields
}
func NewUUIDGenerator ¶
func NewUUIDGenerator() *UUIDGenerator
func (*UUIDGenerator) Generate ¶
func (g *UUIDGenerator) Generate() (string, error)
Click to show internal directories.
Click to hide internal directories.