config

package
v0.0.0-...-539c981 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	View         *render.Render
	Mailer       *mailer.Mailer
	RedirectBack = redirect_back.New(&redirect_back.Config{
		SessionManager:  manager.SessionManager,
		IgnoredPrefixes: []string{"/auth"},
	})
)
View Source
var Config = struct {
	Port int `default:"7000" env:"PORT"`
	DB   struct {
		Name    string `env:"DBName" default:"qor_example"`
		Adapter string
	}
	TWAK   string `env:"TWAPI_KEY" default:"key"`
	TWAS   string `env:"TWAPI_SECRET" default:"sec"`
	SMTP   SMTPConfig
	Github github.Config
}{}

Functions

This section is empty.

Types

type SMTPConfig

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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