config

package
v0.0.0-...-0b35b9a Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StrDialect

func StrDialect() string

func StrDrive

func StrDrive() string

func StrNoSQLDBname

func StrNoSQLDBname() string

func StrNoSQLDrive

func StrNoSQLDrive() string

func TestConnection

func TestConnection()

Types

type Enviroment

type Enviroment struct {
	Domain       string       `json:"domain"`
	RemoteHost   []RemoteHost `json:"remote_host"`
	Port         string       `json:"port"`
	DbDialect    string       `json:"db_dialect"`
	DbHost       string       `json:"db_host"`
	DbName       string       `json:"db_name"`
	DbUser       string       `json:"db_user"`
	DbPassword   string       `json:"db_password"`
	DbSslmode    string       `json:"db_sslmode"`
	DbPort       string       `json:"db_port"`
	AppKey       string       `json:"app_key"`
	SmtpHost     string       `json:"smtp_host"`
	SmtpPort     string       `json:"smtp_port"`
	SmtpEmail    string       `json:"smtp_email"`
	SmtpPassword string       `json:"smtp_password"`
	SmtpTls      string       `json:"smtp_tls"`
}

func EnviromentsRaw

func EnviromentsRaw() Enviroment

type RemoteHost

type RemoteHost struct {
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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