Documentation ¶
Index ¶
- Constants
- func AllowRemoteHostClients() bool
- func AppLifetimeMinutes() int
- func AppURL() string
- func AzureClientID() string
- func AzureClientSecret() string
- func AzureTenant() string
- func CheckPageIP() bool
- func CookieSecret() string
- func ForceSSL() bool
- func GithubClientID() string
- func GithubClientSecret() string
- func GoogleClientID() string
- func GoogleClientSecret() string
- func HostClientsAuthToken() string
- func LimitPagesPerHour() int
- func LimitSessionSizeBytes() int
- func LimitSessionsPerHour() int
- func MasterSecretKey() string
- func MaxWebSocketMessageSize() int
- func PageLifetimeMinutes() int
- func RedisAddr() string
- func RedisMaxActive() int
- func RedisMaxIdle() int
- func RedisPassword() string
- func ReservedAccountNames() []string
- func ReservedPageNames() []string
- func ServerPort() int
- func TrustedProxies() []string
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 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 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 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.
Click to show internal directories.
Click to hide internal directories.