Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DimensionProviderFunc ¶
type IsAutomaticRedirectInitiallyStaleProviderFunc ¶ added in v1.1.0
type IsAutomaticRedirectInitiallyStaleProviderFunc func() bool
type MatcherFunc ¶
type MatcherFunc func(r *http.Request) (*store.RedirectDefinition, error)
type RedirectsProvider ¶
func NewProvider ¶
func NewProvider( l *zap.Logger, providerFunc RedirectsProviderFunc, dimensionProviderFunc DimensionProviderFunc, updateChannel chan *nats.Msg, matcherFuncs ...MatcherFunc, ) *RedirectsProvider
type RedirectsProviderFunc ¶
type RedirectsProviderFunc func(ctx context.Context) (map[store.Dimension]map[store.RedirectSource]*store.RedirectDefinition, error, error)
type RestrictedSourcesProviderFunc ¶ added in v1.1.0
type RestrictedSourcesProviderFunc func() []string
type UserProviderFunc ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.