Documentation ¶
Index ¶
- type Context
- func (c *Context) Close() error
- func (c *Context) Del(key string) error
- func (c *Context) Get(name string) (*Route, error)
- func (c *Context) GetAll() (map[string]Route, error)
- func (c *Context) List(start []byte) *Iter
- func (c *Context) NextID() (uint64, error)
- func (c *Context) Put(key string, rt *Route) error
- type Iter
- type Route
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context provides access to the data store.
func (*Context) List ¶
List all routes in an iterator, starting with the key prefix of start (which can also be nil).
Click to show internal directories.
Click to hide internal directories.