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