Documentation ¶
Index ¶
- Constants
- type Service
- func (s *Service) ArcUpInfo(c context.Context, mid int64, ip string) (isAuthor int32, err error)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) SetUpSwitch(c context.Context, mid int64, state, from int, ip string) (res *upmdl.PBSetUpSwitchRes, err error)
- func (s *Service) ShowStaff(c context.Context, mid int64) (show bool, err error)
- func (s *Service) UpSwitch(c context.Context, mid int64, ip string) (res *up.Switch, err error)
Constants ¶
View Source
const (
StaffWhiteGroupID = 24
)
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) SetUpSwitch ¶
func (s *Service) SetUpSwitch(c context.Context, mid int64, state, from int, ip string) (res *upmdl.PBSetUpSwitchRes, err error)
SetUpSwitch set switch.
Click to show internal directories.
Click to hide internal directories.