config

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2019 License: BSD-3-Clause Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func New

func New() (*Config, error)

func (*Config) CORSUserAgentAllowed

func (c *Config) CORSUserAgentAllowed(ua string) bool

func (*Config) DBPassword

func (c *Config) DBPassword() string

func (*Config) LogLevel

func (c *Config) LogLevel() string

func (*Config) Map

func (c *Config) Map() map[string]interface{}

func (*Config) Provenances

func (c *Config) Provenances() Provenances

func (*Config) StatsSampleCount

func (c *Config) StatsSampleCount() int

type Provenances

type Provenances struct {
	Nonsecret configloader.Provenances
	Secret    configloader.Provenances
}

Jump to

Keyboard shortcuts

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