Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaptchaService ¶
type CaptchaService struct {
// contains filtered or unexported fields
}
CaptchaService struct
func NewCaptchaService ¶
func NewCaptchaService(c *conf.Config) (s *CaptchaService)
NewCaptchaService init
func (*CaptchaService) Create ¶
func (s *CaptchaService) Create(ctx context.Context, req *v1pb.CreateCaptchaReq) (resp *v1pb.CreateCaptchaResp, err error)
Create implementation 创建验证码
func (*CaptchaService) Verify ¶
func (s *CaptchaService) Verify(ctx context.Context, req *v1pb.VerifyReq) (resp *v1pb.VerifyResp, err error)
Verify implementation 校验接口 `midware:"auth" method:"POST"`
type RoomAdminService ¶
type RoomAdminService struct {
// contains filtered or unexported fields
}
RoomAdminService struct
func NewRoomAdminService ¶
func NewRoomAdminService(c *conf.Config) (s *RoomAdminService)
NewRoomAdminService init
func (*RoomAdminService) GetByRoom ¶
func (s *RoomAdminService) GetByRoom(ctx context.Context, req *v1pb.RoomAdminGetByRoomReq) (resp *v1pb.RoomAdminGetByRoomResp, err error)
GetByRoom implementation 获取主播拥有的的所有房管, 无需登录态 `method:"GET"
Click to show internal directories.
Click to hide internal directories.