Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlatformRedirectConfig ¶
type RedirectStore ¶
type RedirectStore struct {
Config config.RedirectsStoreConfig
PathPrefix string
// contains filtered or unexported fields
}
func NewRedirectStore ¶
func NewRedirectStore(options ...RedirectStoreOption) (*RedirectStore, error)
func (*RedirectStore) GetRedirectEntry ¶
func (rs *RedirectStore) GetRedirectEntry(ctx context.Context, url url.URL) (*RedirectStoreRedirectEntry, error)
func (*RedirectStore) Middleware ¶
func (rs *RedirectStore) Middleware() echo.MiddlewareFunc
type RedirectStoreOption ¶
type RedirectStoreOption func(*RedirectStore) error
func WithConfig ¶
func WithConfig(cfg config.RedirectsStoreConfig) RedirectStoreOption
Click to show internal directories.
Click to hide internal directories.