Documentation ¶
Index ¶
- Variables
- type RFRecord
- func (its *RFRecord) Count() uint
- func (its *RFRecord) GetByIndex(id interface{}) (interface{}, error)
- func (its *RFRecord) GetByIndexes(index, id interface{}) (interface{}, error)
- func (its *RFRecord) Index(_, _ interface{}) error
- func (its *RFRecord) Indexes(_, _, _ interface{}) error
- func (its *RFRecord) Iterator(_, fun interface{}) error
- func (its *RFRecord) IteratorByIndex(_, id, fun interface{}) error
- func (its *RFRecord) Read(value interface{}) error
- func (its *RFRecord) Remove(_ bool, _ ...interface{}) error
- func (its *RFRecord) Write(_ bool, _ ...interface{}) error
- type Record
- func (its *Record) Count() uint
- func (its *Record) GetByIndex(id interface{}) (interface{}, error)
- func (its *Record) GetByIndexes(index, id interface{}) (interface{}, error)
- func (its *Record) Index(_, _ interface{}) error
- func (its *Record) Indexes(_, _, _ interface{}) error
- func (its *Record) Iterator(_, fun interface{}) error
- func (its *Record) IteratorByIndex(_, id, fun interface{}) error
- func (its *Record) Read(value interface{}) error
- func (its *Record) Remove(_ bool, _ ...interface{}) error
- func (its *Record) Write(_ bool, _ ...interface{}) error
- type TxtLoader
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IsDebug IsDebug IsDebug = false // LogFlag LogFlag LogFlag = log.LstdFlags // PingTime PingTime PingTime = 2 * time.Minute // SessionLiveTime SessionLiveTime SessionLiveTime = 1 * time.Second // PendingWriteNum PendingWriteNum PendingWriteNum = 4000 // MaxMsgLen MaxMsgLen MaxMsgLen uint32 = 4096 // HTTPTimeout HTTPTimeout HTTPTimeout = 10 * time.Second // LenMsgLen LenMsgLen LenMsgLen = 2 // LittleEndian LittleEndian LittleEndian = true // GoLen GoLen GoLen = 10000 // TimerDispatcherLen TimerDispatcherLen TimerDispatcherLen = 10000 // AsynCallLen AsynCallLen AsynCallLen = 10000 // ChanRPCLen ChanRPCLen ChanRPCLen = 10000 // MainLoopDelay MainLoopDelay MainLoopDelay = 500 * time.Millisecond )
View Source
var AppSetting struct { GameID int `json:"gameId"` ServerID int `json:"serverId"` DBConnURL string `json:"dbConnURL"` DBConnNum int `json:"dbConnNum"` DBGlobalName string `json:"dbGlobalName"` LogLevel string `json:"logLevel"` LogPath string `json:"logPath"` MainModName string `json:"mainModName"` RunMods []string `json:"runMods"` }
AppSetting AppSetting
Functions ¶
This section is empty.
Types ¶
type RFRecord ¶
type RFRecord struct {
*recordfile.RecordFile
}
RFRecord RFRecord
func (*RFRecord) GetByIndex ¶
GetByIndex GetByIndex
func (*RFRecord) GetByIndexes ¶
GetByIndexes GetByIndexes
func (*RFRecord) IteratorByIndex ¶
IteratorByIndex IteratorByIndex
type Record ¶
type Record struct {
// contains filtered or unexported fields
}
Record Record
func (*Record) GetByIndex ¶
GetByIndex GetByIndex
func (*Record) GetByIndexes ¶
GetByIndexes GetByIndexes
func (*Record) IteratorByIndex ¶
IteratorByIndex IteratorByIndex
Click to show internal directories.
Click to hide internal directories.