Documentation ¶
Index ¶
- type InMemoryRouteStorer
- func (s *InMemoryRouteStorer) DeleteRoute(ctx context.Context, tid tenant.Id, id string) error
- func (s *InMemoryRouteStorer) DeleteRoutes(ctx context.Context, tid tenant.Id, ids []string) error
- func (s *InMemoryRouteStorer) GetAllRoutes(ctx context.Context) ([]route.Config, error)
- func (s *InMemoryRouteStorer) GetAllTenantRoutes(ctx context.Context, id tenant.Id) ([]route.Config, error)
- func (s *InMemoryRouteStorer) GetRoute(ctx context.Context, tid tenant.Id, id string) (route.Config, error)
- func (s *InMemoryRouteStorer) SetRoute(ctx context.Context, r route.Config) error
- func (s *InMemoryRouteStorer) SetRoutes(ctx context.Context, routes []route.Config) error
- type InMemoryStorer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryRouteStorer ¶
type InMemoryRouteStorer struct {
// contains filtered or unexported fields
}
func NewInMemoryRouteStorer ¶
func NewInMemoryRouteStorer(config config.Config) *InMemoryRouteStorer
func (*InMemoryRouteStorer) DeleteRoute ¶
func (*InMemoryRouteStorer) DeleteRoutes ¶
func (*InMemoryRouteStorer) GetAllRoutes ¶
func (*InMemoryRouteStorer) GetAllTenantRoutes ¶
type InMemoryStorer ¶
type InMemoryStorer struct {
// contains filtered or unexported fields
}
func NewTenantInmemoryStorer ¶
func NewTenantInmemoryStorer() *InMemoryStorer
func (*InMemoryStorer) DeleteConfig ¶
Click to show internal directories.
Click to hide internal directories.