Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Client requst type OFFLINE = 41 ONLINE = 42 )
Variables ¶
View Source
var Config = new(DBConfig)
Functions ¶
Types ¶
type DBConfig ¶
type DBConfig struct {
DBType string
UserAddr string // DB addr.
UserName string // DB name.
Clients string
Ctrls string
Salt string // Sha512's salt.
MsgAddr string // DB addr.
MsgName string // DB name.
OfflineName string // Collection name.
SubName string // Collection name.
SubsName string // Collection name.
SubMsgName string // Collection name.
OfflineMsgs int // The max of the offline msgs.
}
Click to show internal directories.
Click to hide internal directories.