config

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MongoURI       string   // MongoDB connection string
	Address        string   // Address to listen on
	TrustedProxies []string // A list of trusted proxies
	SSLCert        string
	SSLKey         string
	LogErrorOnly   bool
	DNSServers     []string
	DNSPort        string
	DNSProtocol    string
	DomainWorker   int
	DomainBuffer   int
)

Functions

func Parse

func Parse(path string) error

Parse parses the config file in path and gill the global variables.

Types

This section is empty.

Jump to

Keyboard shortcuts

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