Documentation ¶
Index ¶
- type Service
- func (s *Service) Achievement(c context.Context, p *bwsmdl.ParamID) (rs *bwsmdl.Achievement, err error)
- func (s *Service) Achievements(c context.Context, p *bwsmdl.ParamID) (rs *bwsmdl.Achievements, err error)
- func (s *Service) AdminInfo(c context.Context, bid, mid int64) (data *bwsmdl.AdminInfo, err error)
- func (s *Service) Award(c context.Context, loginMid int64, p *bwsmdl.ParamAward) (err error)
- func (s *Service) Binding(c context.Context, loginMid int64, p *bwsmdl.ParamBinding) (err error)
- func (s *Service) KeyInfo(c context.Context, loginMid, keyID, mid int64, key, typ string, del int) (data json.RawMessage, err error)
- func (s *Service) Lottery(c context.Context, bid, loginMid, aid int64, day string) (data *bwsmdl.LotteryUser, err error)
- func (s *Service) LotteryCheck(c context.Context, mid, aid int64, day string) (data []int64, err error)
- func (s *Service) Point(c context.Context, p *bwsmdl.ParamID) (rs *bwsmdl.Point, err error)
- func (s *Service) Points(c context.Context, p *bwsmdl.ParamPoints) (rs map[string][]*bwsmdl.Point, err error)
- func (s *Service) RedisInfo(c context.Context, loginMid, mid int64, key, day, typ string, del int) (data json.RawMessage, err error)
- func (s *Service) Unlock(c context.Context, owner int64, arg *bwsmdl.ParamUnlock) (err error)
- func (s *Service) User(c context.Context, bid, mid int64, key string) (user *bwsmdl.User, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service struct
func (*Service) Achievement ¶
func (s *Service) Achievement(c context.Context, p *bwsmdl.ParamID) (rs *bwsmdl.Achievement, err error)
Achievement Achievement
func (*Service) Achievements ¶
func (s *Service) Achievements(c context.Context, p *bwsmdl.ParamID) (rs *bwsmdl.Achievements, err error)
Achievements achievements list
func (*Service) KeyInfo ¶
func (s *Service) KeyInfo(c context.Context, loginMid, keyID, mid int64, key, typ string, del int) (data json.RawMessage, err error)
KeyInfo .
func (*Service) Lottery ¶
func (s *Service) Lottery(c context.Context, bid, loginMid, aid int64, day string) (data *bwsmdl.LotteryUser, err error)
Lottery get lottery account.
func (*Service) LotteryCheck ¶
func (s *Service) LotteryCheck(c context.Context, mid, aid int64, day string) (data []int64, err error)
LotteryCheck .
func (*Service) Points ¶
func (s *Service) Points(c context.Context, p *bwsmdl.ParamPoints) (rs map[string][]*bwsmdl.Point, err error)
Points points list
func (*Service) RedisInfo ¶
func (s *Service) RedisInfo(c context.Context, loginMid, mid int64, key, day, typ string, del int) (data json.RawMessage, err error)
RedisInfo .
Click to show internal directories.
Click to hide internal directories.