config

package
v0.0.0-...-b7f56a6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

func New

func New(getter kv.Getter) Config
type Links interface {
	LinksConfig() *LinksConfig
}
func NewLinks(getter kv.Getter) Links

type LinksConfig

type LinksConfig struct {
	Duration time.Duration `fig:"duration"`
	Length   int           `fig:"length"`
	Padding  int           `fig:"padding"`
}

type Redis

type Redis interface {
	RedisClient() *redis2.Client
}

func NewRedis

func NewRedis(getter kv.Getter) Redis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL