Documentation ¶
Index ¶
- type Service
- func (s *Service) BlockUser(c context.Context, mr *model.Case) (err error)
- func (s *Service) CheckBlock(c context.Context, mid int64) (ok bool, err error)
- func (s *Service) Close()
- func (s *Service) DealCaseApplyReason(c context.Context, nwMsg []byte) (err error)
- func (s *Service) DelCaseInfoCache(c context.Context, nwMsg []byte) (err error)
- func (s *Service) DelCaseVoteTopCache(c context.Context, nwMsg []byte) (err error)
- func (s *Service) DelGrantCase(c context.Context, nwMsg []byte, oldMsg []byte) (err error)
- func (s *Service) DelJuryInfoCache(c context.Context, nwMsg []byte) (err error)
- func (s *Service) DelOrigin(c context.Context, cs *model.Case)
- func (s *Service) DelVoteCaseCache(c context.Context, nwMsg []byte) (err error)
- func (s *Service) DeleteIdx(c context.Context, nwMsg []byte) (err error)
- func (s *Service) GrantCase(c context.Context, nwMsg []byte, oldMsg []byte) (err error)
- func (s *Service) InvalidJury(c context.Context, nwMsg []byte, oldMsg []byte) (err error)
- func (s *Service) Judge(c context.Context, nwMsg []byte, oldMsg []byte) (err error)
- func (s *Service) KPIReward(c context.Context, nwMsg []byte, oldMsg []byte) (err error)
- func (s *Service) NotifyBlockAnswer(c context.Context, nwMsg []byte) (err error)
- func (s *Service) Ping(c context.Context) error
- func (s *Service) RegReply(c context.Context, table string, nwMsg []byte, oldMsg []byte) (err error)
- func (s *Service) UnBlockAccount(c context.Context, nwMsg []byte, oldMsg []byte) (err error)
- func (s *Service) UpdateCache(c context.Context, nwMsg []byte) (err error)
- func (s *Service) UpdateVoteCount(c context.Context, mr *model.Case)
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) CheckBlock ¶
CheckBlock check user block state
func (*Service) DealCaseApplyReason ¶
DealCaseApplyReason deal with case apply reason.
func (*Service) DelCaseInfoCache ¶
DelCaseInfoCache del case info cache.
func (*Service) DelCaseVoteTopCache ¶
DelCaseVoteTopCache .
func (*Service) DelGrantCase ¶
DelGrantCase del case in list.
func (*Service) DelJuryInfoCache ¶
DelJuryInfoCache .
func (*Service) DelVoteCaseCache ¶
DelVoteCaseCache del vote case cache.
func (*Service) InvalidJury ¶
InvalidJury invalid juryer.
func (*Service) NotifyBlockAnswer ¶
NotifyBlockAnswer notify block answer status
func (*Service) RegReply ¶
func (s *Service) RegReply(c context.Context, table string, nwMsg []byte, oldMsg []byte) (err error)
RegReply regist reply subject.
func (*Service) UnBlockAccount ¶
UnBlockAccount unblock account.
func (*Service) UpdateCache ¶
UpdateCache update blocked info cache.
Click to show internal directories.
Click to hide internal directories.