routes

package
v1.0.54 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(c Config)

Types

type Config

type Config struct {
	Version          Version
	Env              string
	Services         *backends.Services
	BaseURL          *url.URL
	Router           *ich.Mux
	Assets           mix.Manifest
	SessionStore     sessions.Store
	SessionName      string
	Timezone         *time.Location
	Loc              *gotext.Locale
	Logger           *zap.SugaredLogger
	OIDCAuth         *oidc.Auth
	UsernameClaim    string
	FrontendURL      string
	FrontendUsername string
	FrontendPassword string
	IPRanges         string
	MaxFileSize      int
	CSRFName         string
	CSRFSecret       string
}

type Version added in v1.0.41

type Version struct {
	Branch string
	Commit string
	Image  string
}

Jump to

Keyboard shortcuts

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