Documentation
¶
Index ¶
- type RankShire
- type Service
- func (s *Service) BaseQ(c context.Context, mid int64, lang string, mobile bool) (res *model.AnsQueDetailList, err error)
- func (s *Service) BaseQs(c context.Context, mid int64, lang string, mobile bool) (rqs *model.AnsQuesList, err error)
- func (s *Service) Captcha(c context.Context, mid int64, clientType string, newCaptcha int) (res *model.ProcessRes, err error)
- func (s *Service) CheckBase(c context.Context, mid int64, ids []int64, ansHas map[int64]string, ...) (res *model.AnsCheck, err error)
- func (s *Service) CheckBirthday(c context.Context, mid int64) (ok bool)
- func (s *Service) Close()
- func (s *Service) ConvertExtraQs(c context.Context, mid int64, lang string, mobile bool) (res *model.AnsQueDetailList, err error)
- func (s *Service) ConvertProQues(c context.Context, mid int64, tIds string, lang string, mobile bool) (res []*model.AnsQueDetail, err error)
- func (s *Service) Cool(c context.Context, hid, mid int64) (cool *model.AnsCool, err error)
- func (s *Service) ExtraCheck(c context.Context, mid int64, ids []int64, ansHash map[int64]string, ua string, ...) (err error)
- func (s *Service) ExtraQs(c context.Context, mid int64, lang string, mobile bool) (rqs *model.AnsQuesList, err error)
- func (s *Service) ExtraScore(c context.Context, mid int64) (res *model.ExtraScoreReply, err error)
- func (s *Service) PendantRec(c context.Context, arg *model.ReqPendant) (err error)
- func (s *Service) ProCheck(c context.Context, mid int64, ids []int64, ansHash map[int64]string, ...) (hid int64, err error)
- func (s *Service) ProQues(c context.Context, mid int64, qtsStr string, lang string, mobile bool) (rqs *model.AnsQuesList, err error)
- func (s *Service) ProType(c context.Context, mid int64, lang string) (res *model.AnsProType, err error)
- func (s *Service) Validate(c context.Context, challenge, validate, seccode, clientType string, ...) (res *model.AnsCheck, 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 of service.
func (*Service) BaseQ ¶
func (s *Service) BaseQ(c context.Context, mid int64, lang string, mobile bool) (res *model.AnsQueDetailList, err error)
BaseQ base question.
func (*Service) BaseQs ¶
func (s *Service) BaseQs(c context.Context, mid int64, lang string, mobile bool) (rqs *model.AnsQuesList, err error)
BaseQs get base question
func (*Service) Captcha ¶
func (s *Service) Captcha(c context.Context, mid int64, clientType string, newCaptcha int) (res *model.ProcessRes, err error)
Captcha get question captcha
func (*Service) CheckBase ¶
func (s *Service) CheckBase(c context.Context, mid int64, ids []int64, ansHas map[int64]string, lang string) (res *model.AnsCheck, err error)
CheckBase check base question all
func (*Service) CheckBirthday ¶
CheckBirthday check user had birthday info
func (*Service) ConvertExtraQs ¶
func (s *Service) ConvertExtraQs(c context.Context, mid int64, lang string, mobile bool) (res *model.AnsQueDetailList, err error)
ConvertExtraQs extra question.
func (*Service) ConvertProQues ¶
func (s *Service) ConvertProQues(c context.Context, mid int64, tIds string, lang string, mobile bool) (res []*model.AnsQueDetail, err error)
ConvertProQues pro question.
func (*Service) ExtraCheck ¶
func (s *Service) ExtraCheck(c context.Context, mid int64, ids []int64, ansHash map[int64]string, ua string, lang string, refer string, buvid string) (err error)
ExtraCheck extra check.
func (*Service) ExtraQs ¶
func (s *Service) ExtraQs(c context.Context, mid int64, lang string, mobile bool) (rqs *model.AnsQuesList, err error)
ExtraQs extra question.
func (*Service) ExtraScore ¶
ExtraScore .
func (*Service) PendantRec ¶
PendantRec .
func (*Service) ProCheck ¶
func (s *Service) ProCheck(c context.Context, mid int64, ids []int64, ansHash map[int64]string, lang string) (hid int64, err error)
ProCheck check second step questions
func (*Service) ProQues ¶
func (s *Service) ProQues(c context.Context, mid int64, qtsStr string, lang string, mobile bool) (rqs *model.AnsQuesList, err error)
ProQues question info.
Click to show internal directories.
Click to hide internal directories.