Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceConfig ¶
type ServiceConfig struct {
DevMode bool
ListenAddress string
AuthUsername string
AuthPassword string
DefaultArtifactRoot string
S3EndpointURI string
GSEndpointURI string
DatabaseURI string
DatabaseReset bool
DatabasePoolMax int
DatabaseMigrate bool
DatabaseSlowThreshold time.Duration
}
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.