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 BannerService

type BannerService struct {
	// contains filtered or unexported fields
}

BannerService struct

func NewBannerService

func NewBannerService(c *conf.Config) (s *BannerService)

NewBannerService init

func (*BannerService) GetBlinkBanner

func (s *BannerService) GetBlinkBanner(ctx context.Context, req *rspb.GetInfoReq) (resp *rspb.GetInfoResp, err error)

GetBlinkBanner implementation 获取banner配置 `dynamic:"true"`

type RoomService

type RoomService struct {
	// contains filtered or unexported fields
}

RoomService struct

func NewRoomService

func NewRoomService(c *conf.Config) (s *RoomService)

NewRoomService init

func (*RoomService) Create

func (s *RoomService) Create(ctx context.Context, req *v1pb.CreateReq) (resp *v1pb.CreateResp, err error)

Create implementation 创建房间 `method:"POST" midware:"auth"`

func (*RoomService) GetInfo

func (s *RoomService) GetInfo(ctx context.Context, req *v1pb.GetRoomInfoReq) (resp *v1pb.GetRoomInfoResp, err error)

GetInfo implementation 获取房间基本信息 `method:"GET" midware:"auth"`

type SplashService

type SplashService struct {
	// contains filtered or unexported fields
}

SplashService struct

func NewSplashService

func NewSplashService(c *conf.Config) (s *SplashService)

NewSplashService init

func (*SplashService) GetInfo

func (s *SplashService) GetInfo(ctx context.Context, req *rspb.GetInfoReq) (resp *rspb.GetInfoResp, err error)

GetInfo implementation 获取有效闪屏配置 `dynamic:"true"`

type TopicService

type TopicService struct {
	// contains filtered or unexported fields
}

TopicService struct

func NewTopicService

func NewTopicService(c *conf.Config) (s *TopicService)

NewTopicService init

func (*TopicService) CheckTopic

func (s *TopicService) CheckTopic(ctx context.Context, req *v1pb.CheckTopicReq) (resp *v1pb.CheckTopicResp, err error)

CheckTopic implementation 检验话题是否有效 `method:"GET" midware:"auth"`

func (*TopicService) GetTopicList

func (s *TopicService) GetTopicList(ctx context.Context, req *v1pb.GetTopicListReq) (resp *v1pb.GetTopicListResp, err error)

GetTopicList implementation 获取话题列表 `method:"GET" midware:"auth"`

Jump to

Keyboard shortcuts

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