config

package
v0.0.0-...-712c0c1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Root    = os.Getenv("GOPATH") + "/src/github.com/andboson/qor-admin-test"
	View    *render.Render
	Filebox *filebox.Filebox
)
View Source
var Config = struct {
	Port uint `default:"7000" env:"PORT"`
	DB   struct {
		Name     string `default:"qor"`
		Adapter  string `default:"pqsql"`
		User     string `default:"roor"`
		Password string `default:"root"`
	}
	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