Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoStore ¶
type MongoStore struct { Database string AuthDatabase string Session *mgo.Session User string Password string Host string Port int }
var StoreObject MongoStore
MONGO local MongoObject
func (MongoStore) Init ¶
func (store MongoStore) Init(done chan bool)
InitMongo set MongoDB connection
type RedisStore ¶
type RedisStore struct { Name string Client *redis.Client }
var RedisServer RedisStore
MONGO local MongoObject
func (RedisStore) Run ¶
func (store RedisStore) Run(done chan bool)
InitMongo set MongoDB connection
Click to show internal directories.
Click to hide internal directories.