setting

package
v0.0.0-...-948c845 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2014 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppVer = "VERSION 0.0.1"
)

Variables

View Source
var (
	AppName string
	AppHost string
	AppUrl  string
	TmpPath string
)
View Source
var (
	CookieUserName     string
	CookieRememberName string
)
View Source
var (
	MongodbHost   string
	MongodbName   string
	MySQLHost     string
	MySQLUser     string
	MySQLPassword string
	MySQLDB       string
	RedisHost     string
	RedisPort     string
)
View Source
var (
	SendcloudDomain string
	SendcloudUser   string
	SendcloudKey    string
	From            string
	FromName        string
)
View Source
var (
	// OAuth
	GithubClientId     string
	GithubClientSecret string
	WeiboClientId      string
	WeiboClientSecret  string
	QQClientId         string
	QQClientSecret     string
)
View Source
var (
	Cache          cache.Cache
	MongodbSession *mgo.Session
	Captcha        *captcha.Captcha
	AvatarFSM      *filestore.Manager
	AttachmentFSM  *filestore.Manager
	Sendcloud      *sendcloud.Client
	StopForumSpam  *stopforumspam.Client
)
View Source
var (
	ConfigBroken bool
)

Functions

func ReadConfig

func ReadConfig()

Types

This section is empty.

Jump to

Keyboard shortcuts

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