Documentation ¶
Index ¶
- type Database
- func (db *Database) Clean() error
- func (db *Database) Close() error
- func (db *Database) Find(key string, create bool) (*fstack.Stack, error)
- func (db *Database) Get(key string) *fstack.Stack
- func (db *Database) Names() []string
- func (db *Database) Remove(key string) error
- func (db *Database) Scan() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
Database of file stacks
func NewDatabase ¶
NewDatabase - create new database and start stack collector (closes outaded stack)
func (*Database) Close ¶
Close all allocated stacks and stops stack collector. Never use database again after close
Click to show internal directories.
Click to hide internal directories.