Documentation ¶
Index ¶
- type App
- func (a App) Delete(ctx context.Context, keys ...string) error
- func (a App) Exclusive(ctx context.Context, name string, timeout time.Duration, ...) error
- func (a App) Load(ctx context.Context, key string) (string, error)
- func (a App) Ping() error
- func (a App) Store(ctx context.Context, key string, value interface{}, duration time.Duration) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App of package
func New ¶
func New(config Config, prometheusRegisterer prometheus.Registerer) App
New creates new App from Config
Click to show internal directories.
Click to hide internal directories.