Documentation ¶
Overview ¶
配置文件
数据库基础功能封装
日志相关功能
Index ¶
Constants ¶
View Source
const ( REQUEST_ERROR = 401 UN_AUTH = 403 OK = 200 SERVER_ERROR = 500 )
View Source
const ACCESS_TOKEN_KEY = "x-access-token"
View Source
const CONFIG_FILE = "./app.conf"
View Source
const SHARED_SECRET = "!@#$%^&*()_+1234567890-="
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CMongo ¶
func (*CMongo) GetSession ¶
func (this *CMongo) GetSession() *mgo.Session
Click to show internal directories.
Click to hide internal directories.