Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Opts = Config{}
Opts represents server side configuration for Staple.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
AutoTLS bool
CacheDir string
ServerKeyPath string
ServerCrtPath string
Port string
Hostname string
GlobalTokenKey string
Database struct {
Hostname string
Username string
Password string
Database string
}
Mailer struct {
Domain string
APIKey string
}
DevMode bool
Logger zerolog.Logger
Debug bool
}
Config contains configuration options for the inner server of Staple.
Click to show internal directories.
Click to hide internal directories.