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: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CORSUserAgentAllowed

func CORSUserAgentAllowed(ua string) bool

func DBPassword

func DBPassword() string

func Init

func Init() error

func LogLevel

func LogLevel() string

func Map

func Map() map[string]interface{}

func StatsSampleCount

func StatsSampleCount() int

Types

type Config

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

type ConfigProvenances

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

func Provenances

func Provenances() ConfigProvenances

Jump to

Keyboard shortcuts

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