Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthConfig struct { AuthentificationBackend string OAuth *OAuthConfig }
AuthConfig holds configuration related to the authentification backend
type Config ¶
type Config struct { DB *DBConfig HTTP *HTTPServerConfig Auth *AuthConfig ServerURL *url.URL DataDirectory string TemplatesDirectory string StaticFilesDirectory string TemplatesCacheEnabled bool LogLevel log.Level }
Config holds configuration that is needed by Server to initialize all of its dependencies.
type HTTPServerConfig ¶
type HTTPServerConfig struct {
Address string
}
HTTPServerConfig holds configuration related to the HTTP server
Click to show internal directories.
Click to hide internal directories.