config

package
v0.6.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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