config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogToFileFlag = "PGLET_LOG_TO_FILE"
)

Variables

This section is empty.

Functions

func AllowRemoteHostClients added in v0.2.0

func AllowRemoteHostClients() bool

func AppLifetimeMinutes

func AppLifetimeMinutes() int

func AppURL added in v0.4.0

func AppURL() string

func AzureClientID added in v0.4.0

func AzureClientID() string

func AzureClientSecret added in v0.4.0

func AzureClientSecret() string

func AzureTenant added in v0.4.0

func AzureTenant() string

func CheckPageIP

func CheckPageIP() bool

func CookieSecret added in v0.4.0

func CookieSecret() string

func ForceSSL

func ForceSSL() bool

func GithubClientID added in v0.4.0

func GithubClientID() string

func GithubClientSecret added in v0.4.0

func GithubClientSecret() string

func GoogleClientID added in v0.4.0

func GoogleClientID() string

func GoogleClientSecret added in v0.4.0

func GoogleClientSecret() string

func HostClientsAuthToken added in v0.2.3

func HostClientsAuthToken() string

func LimitPagesPerHour

func LimitPagesPerHour() int

func LimitSessionSizeBytes

func LimitSessionSizeBytes() int

func LimitSessionsPerHour

func LimitSessionsPerHour() int

func MasterSecretKey added in v0.4.0

func MasterSecretKey() string

func MaxWebSocketMessageSize added in v0.3.0

func MaxWebSocketMessageSize() int

func PageLifetimeMinutes

func PageLifetimeMinutes() int

func RedisAddr

func RedisAddr() string

func RedisMaxActive

func RedisMaxActive() int

func RedisMaxIdle

func RedisMaxIdle() int

func RedisPassword

func RedisPassword() string

func ReservedAccountNames added in v0.2.3

func ReservedAccountNames() []string

func ReservedPageNames added in v0.2.3

func ReservedPageNames() []string

func ServerPort added in v0.2.3

func ServerPort() int

func TrustedProxies added in v0.4.1

func TrustedProxies() []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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