globalConfig

package
v0.0.0-...-1b5978a Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigApi

type ConfigApi struct {
	Version   string
	Port      string
	BaseRoute string
}

func GetConfigApi

func GetConfigApi() ConfigApi

type ConfigDb

type ConfigDb struct {
	User    string
	Pwd     string
	Name    string
	Host    string
	Port    string
	ConnStr string
}

func GetConfigDb

func GetConfigDb() ConfigDb

type ConfigMail

type ConfigMail struct {
	Address string
	Pwd     string
	Port    string
	Server  string
}

TODO: Change port to 465 for tls, currently 587 without (but works)

func GetConfigMail

func GetConfigMail() ConfigMail

Jump to

Keyboard shortcuts

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