config

package
v0.0.0-...-8a2246e Latest Latest
Warning

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

Go to latest
Published: May 9, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Root = os.Getenv("GOPATH") + "/src/github.com/reechou/erp"
	View *render.Render
)
View Source
var Config = struct {
	Port uint `default:"1888" env:"PORT"`
	DB   struct {
		Name     string `default:"qor_erp"`
		Adapter  string `default:"mysql"`
		Host     string `default:"localhost"`
		Port     string `default:"3306"`
		User     string
		Password string
	}
	SMTP SMTPConfig
}{}

Functions

This section is empty.

Types

type SMTPConfig

type SMTPConfig struct {
	Host     string
	Port     string
	User     string
	Password string
	Site     string
}

func (SMTPConfig) HostWithPort

func (s SMTPConfig) HostWithPort() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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