config

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port                    string
	AlertEndpoint           string
	AlertEndpointCACertPath string
	TLSEnabled              bool
	CertPath                string
	KeyPath                 string
	LogFileEnabled          bool
	LogFilePath             string
	SQLiteDBPath            string
	MySQLUserName           string
	MySQLHost               string
	MySQLDatabaseName       string
	DataRetentionDays       int32
}

Config struct with config

func GetConfig

func GetConfig(path string) Config

GetConfig return config struct

Jump to

Keyboard shortcuts

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