mail2ajax

package
v0.0.0-...-b47b16d Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2015 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDb

func InitDb(config *Config)

Types

type Config

type Config struct {
	Debug bool `yaml:"debug" json:"debug" `

	AuthSecret string `yaml:"auth_secret" json:"auth_secret" `

	DBEngine  string `yaml:"db_engine" json:"db_engine"`
	DBConnect string `yaml:"db_connect" json:"db_connect"`

	HTTPListen  string `yaml:"http_listen" json:"http_listen"`
	IMAPAddress string `toml:"imap_adddress" json:"imap_adddress"`
	SMTPLogin   string `toml:"smtp_login" json:"smtp_login"`

	Tls *tls.Config
	DB  *sqlx.DB
}

func Init

func Init() (*Config, error)

func NewConfig

func NewConfig() *Config

Jump to

Keyboard shortcuts

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