Documentation ¶
Index ¶
- type Service
- func (s *Service) AddAssist(c context.Context, mid, assistMid int64, main, live int8, ip, ak, ck string) (err error)
- func (s *Service) AssistLogs(c context.Context, mid, assistMid, pn, ps, stime, etime int64, ip string) (assistLogs []*assist.AssistLog, pager map[string]int64, err error)
- func (s *Service) Assists(c context.Context, mid int64, ip string) (assists []*assist.Assist, err error)
- func (s *Service) DelAssist(c context.Context, mid, assistMid int64, ip, ak, ck string) (err error)
- func (s *Service) LiveCheckAssist(c context.Context, mid, assistMid int64, ip string) (isAss int8, err error)
- func (s *Service) LiveRevocBanned(c context.Context, mid int64, banID, ck, ip string) (err error)
- func (s *Service) LiveStatus(c context.Context, mid int64, ip string) (open int8, err error)
- func (s *Service) RevocAssistLog(c context.Context, mid, assistMid, logID int64, ck, ip string) (err error)
- func (s *Service) SetAssist(c context.Context, mid, assistMid int64, main, live int8, ip, ak, ck string) (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 assist.
func (*Service) AddAssist ¶
func (s *Service) AddAssist(c context.Context, mid, assistMid int64, main, live int8, ip, ak, ck string) (err error)
AddAssist add mid to any assist
func (*Service) AssistLogs ¶
func (s *Service) AssistLogs(c context.Context, mid, assistMid, pn, ps, stime, etime int64, ip string) (assistLogs []*assist.AssistLog, pager map[string]int64, err error)
AssistLogs get all assistlog by Mid, and format by typeid
func (*Service) Assists ¶
func (s *Service) Assists(c context.Context, mid int64, ip string) (assists []*assist.Assist, err error)
Assists get assists
func (*Service) LiveCheckAssist ¶
func (s *Service) LiveCheckAssist(c context.Context, mid, assistMid int64, ip string) (isAss int8, err error)
LiveCheckAssist check if is assist in live
func (*Service) LiveRevocBanned ¶
LiveRevocBanned revoke banned in live
func (*Service) LiveStatus ¶
LiveStatus get user assist rights about liveRoom
Click to show internal directories.
Click to hide internal directories.