Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 License: AGPL-3.0, BSD-2-Clause, ISC Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerConfig

type ServerConfig struct {
	AccessTokenLifetime   time.Duration
	CheckEvery            time.Duration
	DenyRequests          chan deny.Request
	DisableCancelAfterUse bool
	GraceRebound          time.Duration
	Host                  string
	MinUserNameLength     int
	Now                   func() time.Time
	Port                  int
	PruneEvery            time.Duration
	RelaySecret           []byte //TODO update to string to suit internal/login.Sign()
	RequestTimeout        time.Duration
	StoreSecret           []byte //TODO update to string to suit internal/login.Sign()?
	Store                 *store.Store
}

Jump to

Keyboard shortcuts

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