v1

package
v0.0.0-...-83adff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

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

GetByRoom implementation 获取主播拥有的的所有房管, 无需登录态 `method:"GET"

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL