Documentation ¶
Index ¶
- type GameCache
- func (c *GameCache) ClearAllCache()
- func (c *GameCache) ClearPlayerCache(playerid int64, gameAccount string)
- func (c *GameCache) GetAccountInfo(gameAccount string) (interface{}, messagehandle.ErrorMsg)
- func (c *GameCache) GetAttach(playerid int64) interface{}
- func (c *GameCache) GetCachePool() *redis.Pool
- func (c *GameCache) GetPlayerInfo(playerid int64) (interface{}, messagehandle.ErrorMsg)
- func (c *GameCache) GetToken(gameAccount string) string
- func (c *GameCache) GetULGInfoCache(playerid int64) interface{}
- func (c *GameCache) SetAccountInfo(gameAccount string, Value interface{})
- func (c *GameCache) SetAttach(playerid int64, value interface{})
- func (c *GameCache) SetPlayerInfo(playerid int64, Value interface{})
- func (c *GameCache) SetToken(gameAccount, Token string)
- func (c *GameCache) SetULGInfo(playerid int64, value interface{})
- type Setting
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameCache ¶
type GameCache struct { Setting Setting // contains filtered or unexported fields }
GameCache ICache
func (*GameCache) ClearPlayerCache ¶
ClearPlayerCache ...
func (*GameCache) GetAccountInfo ¶
func (c *GameCache) GetAccountInfo(gameAccount string) (interface{}, messagehandle.ErrorMsg)
GetAccountInfo Get Account Struct
func (*GameCache) GetPlayerInfo ¶
func (c *GameCache) GetPlayerInfo(playerid int64) (interface{}, messagehandle.ErrorMsg)
GetPlayerInfo Get PlayerInfo Struct
func (*GameCache) GetULGInfoCache ¶
GetULGInfoCache Get ULG info
func (*GameCache) SetAccountInfo ¶
SetAccountInfo Set Account Struct
func (*GameCache) SetPlayerInfo ¶
SetPlayerInfo Set PlayerInfo Struct
func (*GameCache) SetULGInfo ¶
SetULGInfo Set ULG info
Click to show internal directories.
Click to hide internal directories.