Documentation
¶
Index ¶
- Variables
- type Context
- func (c *Context) Close()
- func (c *Context) CloseCursor()
- func (c *Context) Output(data []byte)
- func (c *Context) OutputErr(err error)
- func (c *Context) OutputString(data string)
- func (c *Context) PrepareCursor(prefix []byte, includeValues bool) error
- func (c *Context) Prompt() (string, error)
- func (c *Context) SetPrompter(Prompter Prompter)
- func (c *Context) SwitchDB(name string) error
- func (c *Context) WithinRead(f func(*lmdb.Txn) error) error
- func (c *Context) WithinWrite(f func(*lmdb.Txn) error) error
- type Cursor
- type Prompter
Constants ¶
This section is empty.
Variables ¶
View Source
var NoPromptErr = errors.New("no prompt has been configured")
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { *lmdb.Env DBI lmdb.DBI Cursor *Cursor // contains filtered or unexported fields }
func NewContext ¶
func (*Context) CloseCursor ¶
func (c *Context) CloseCursor()
func (*Context) OutputString ¶
func (*Context) PrepareCursor ¶
func (*Context) SetPrompter ¶
Click to show internal directories.
Click to hide internal directories.