config

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address       string
	Compress      bool
	CaptchaSecret string

	GatewayUrl string
	ApiUrl     string
	ApiURI     *url.URL
	WebsiteUrl string
	WebAppUrl  string

	HttpsEnabled bool
	HttpsKey     string
	HttpsCrt     string

	CookieDomain string
	CookieSecure bool

	CorsAllowedOrigins map[string]bool

	DebugHttp bool

	CsrfEnabled     bool
	RedisConnection string
}
var Global Config

func (*Config) Load

func (c *Config) Load()

Jump to

Keyboard shortcuts

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