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 (*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 (*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"`
Click to show internal directories.
Click to hide internal directories.