Documentation ¶
Index ¶
- type InMemoryRouterStore
- func (i *InMemoryRouterStore) Delete(_ context.Context, key string) error
- func (i *InMemoryRouterStore) Get(_ context.Context, key string, _ ...opts.RequestOption) (routing.OpniRouting, error)
- func (i *InMemoryRouterStore) List(_ context.Context, _ ...opts.RequestOption) ([]routing.OpniRouting, error)
- func (i *InMemoryRouterStore) ListKeys(_ context.Context) ([]string, error)
- func (i *InMemoryRouterStore) Put(_ context.Context, key string, value routing.OpniRouting) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryRouterStore ¶
type InMemoryRouterStore struct {
// contains filtered or unexported fields
}
func NewInMemoryRouterStore ¶
func NewInMemoryRouterStore() *InMemoryRouterStore
func (*InMemoryRouterStore) Delete ¶
func (i *InMemoryRouterStore) Delete(_ context.Context, key string) error
func (*InMemoryRouterStore) Get ¶
func (i *InMemoryRouterStore) Get(_ context.Context, key string, _ ...opts.RequestOption) (routing.OpniRouting, error)
func (*InMemoryRouterStore) List ¶
func (i *InMemoryRouterStore) List(_ context.Context, _ ...opts.RequestOption) ([]routing.OpniRouting, error)
func (*InMemoryRouterStore) ListKeys ¶
func (i *InMemoryRouterStore) ListKeys(_ context.Context) ([]string, error)
func (*InMemoryRouterStore) Put ¶
func (i *InMemoryRouterStore) Put(_ context.Context, key string, value routing.OpniRouting) error
Click to show internal directories.
Click to hide internal directories.