Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceConfig ¶
type ServiceConfig struct { Auth auth.Config DevMode bool AimRevert bool ListenAddress string DefaultArtifactRoot string S3EndpointURI string GSEndpointURI string DatabaseURI string DatabaseReset bool DatabasePoolMax int DatabaseMigrate bool DatabaseSlowThreshold time.Duration LiveUpdatesEnabled bool }
ServiceConfig represents main service configuration.
func NewServiceConfig ¶
func NewServiceConfig() *ServiceConfig
NewServiceConfig creates new instance of ServiceConfig.
func (*ServiceConfig) Validate ¶
func (c *ServiceConfig) Validate() error
Validate validates service configuration.
Click to show internal directories.
Click to hide internal directories.