config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPort    = "80"
	DefaultAddress = "0.0.0.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DBUser     string
	DBPassword string
	DBName     string
	DBHost     string

	Address string
	Port    string
	SSL     bool

	ScannerActive   bool
	ScannerDeviceId string

	BringEmail    string
	BringPassword string

	OpenGTINAPIKey  string
	OpenGTINEnabled bool
}

func Get

func Get() *Config

Jump to

Keyboard shortcuts

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