Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface { Close() error Get(ctx context.Context, id string) (*internal.Route, error) Put(ctx context.Context, key string, route *internal.Route) error Del(ctx context.Context, id string) error GetAll(ctx context.Context) (map[string]internal.Route, error) List(ctx context.Context, start string) (internal.RouteIterator, error) NextID(ctx context.Context) (uint64, error) }
Click to show internal directories.
Click to hide internal directories.