Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GlobalState ¶
type GlobalState struct { Debug bool Version string SingleUserMode bool StaticMode bool OnlineUserCount int TopBooks *entity.BookInfoList ServerStatus *util.ServerStatus }
var Global GlobalState
func (*GlobalState) GetAllBookNum ¶
func (g *GlobalState) GetAllBookNum() int
GetAllBookNum 获取所有书籍数量
type ReaderMode ¶
type ReaderMode int
const ( // ScrollMode 卷轴模式 ScrollMode ReaderMode = iota // FlipMode 翻页模式 FlipMode )
Click to show internal directories.
Click to hide internal directories.