conf

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	ApiListen   string // api server listen address
	HttpListen  string // http server listen address
	HttpsListen string // https server listen address
	RateLimit   uint64 // rate limit per minute
	DB          *sql.DB
	Domains     utils.DomainProvider
	Acme        utils.AcmeChallengeProvider
	Certs       utils.CertProvider
	Favicons    *favicons.Favicons
	Signer      mjwt.Verifier
	ErrorPages  *errorPages.ErrorPages
	Router      *router.Manager
}

Conf stores the shared configuration for the API, HTTP and HTTPS servers.

Jump to

Keyboard shortcuts

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