Documentation ¶
Overview ¶
Package v1 is a generated blademaster stub package. This code was generated with go-common/app/tool/bmgen/protoc-gen-bm v0.1.
It is generated from these files:
appBlink.proto
Index ¶
- Variables
- func RegisterBannerBMServer(e *bm.Engine, server BannerBMServer)
- func RegisterRoomBMServer(e *bm.Engine, server RoomBMServer)
- func RegisterSplashBMServer(e *bm.Engine, server SplashBMServer)
- func RegisterTopicBMServer(e *bm.Engine, server TopicBMServer)
- func RegisterV1RoomService(e *bm.Engine, svc RoomBMServer, midMap map[string]bm.HandlerFunc)
- func RegisterV1TopicService(e *bm.Engine, svc TopicBMServer, midMap map[string]bm.HandlerFunc)
- type BannerBMServer
- type CheckTopicReq
- func (*CheckTopicReq) Descriptor() ([]byte, []int)
- func (m *CheckTopicReq) GetPlatform() string
- func (m *CheckTopicReq) GetTopic() string
- func (m *CheckTopicReq) Marshal() (dAtA []byte, err error)
- func (m *CheckTopicReq) MarshalTo(dAtA []byte) (int, error)
- func (*CheckTopicReq) ProtoMessage()
- func (m *CheckTopicReq) Reset()
- func (m *CheckTopicReq) Size() (n int)
- func (m *CheckTopicReq) String() string
- func (m *CheckTopicReq) Unmarshal(dAtA []byte) error
- func (m *CheckTopicReq) XXX_DiscardUnknown()
- func (m *CheckTopicReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CheckTopicReq) XXX_Merge(src proto.Message)
- func (m *CheckTopicReq) XXX_Size() int
- func (m *CheckTopicReq) XXX_Unmarshal(b []byte) error
- type CheckTopicResp
- func (*CheckTopicResp) Descriptor() ([]byte, []int)
- func (m *CheckTopicResp) Marshal() (dAtA []byte, err error)
- func (m *CheckTopicResp) MarshalTo(dAtA []byte) (int, error)
- func (*CheckTopicResp) ProtoMessage()
- func (m *CheckTopicResp) Reset()
- func (m *CheckTopicResp) Size() (n int)
- func (m *CheckTopicResp) String() string
- func (m *CheckTopicResp) Unmarshal(dAtA []byte) error
- func (m *CheckTopicResp) XXX_DiscardUnknown()
- func (m *CheckTopicResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CheckTopicResp) XXX_Merge(src proto.Message)
- func (m *CheckTopicResp) XXX_Size() int
- func (m *CheckTopicResp) XXX_Unmarshal(b []byte) error
- type CreateReq
- func (*CreateReq) Descriptor() ([]byte, []int)
- func (m *CreateReq) GetPlatform() string
- func (m *CreateReq) Marshal() (dAtA []byte, err error)
- func (m *CreateReq) MarshalTo(dAtA []byte) (int, error)
- func (*CreateReq) ProtoMessage()
- func (m *CreateReq) Reset()
- func (m *CreateReq) Size() (n int)
- func (m *CreateReq) String() string
- func (m *CreateReq) Unmarshal(dAtA []byte) error
- func (m *CreateReq) XXX_DiscardUnknown()
- func (m *CreateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateReq) XXX_Merge(src proto.Message)
- func (m *CreateReq) XXX_Size() int
- func (m *CreateReq) XXX_Unmarshal(b []byte) error
- type CreateResp
- func (*CreateResp) Descriptor() ([]byte, []int)
- func (m *CreateResp) GetRoomId() string
- func (m *CreateResp) Marshal() (dAtA []byte, err error)
- func (m *CreateResp) MarshalTo(dAtA []byte) (int, error)
- func (*CreateResp) ProtoMessage()
- func (m *CreateResp) Reset()
- func (m *CreateResp) Size() (n int)
- func (m *CreateResp) String() string
- func (m *CreateResp) Unmarshal(dAtA []byte) error
- func (m *CreateResp) XXX_DiscardUnknown()
- func (m *CreateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateResp) XXX_Merge(src proto.Message)
- func (m *CreateResp) XXX_Size() int
- func (m *CreateResp) XXX_Unmarshal(b []byte) error
- type GetInfoReq
- func (*GetInfoReq) Descriptor() ([]byte, []int)
- func (m *GetInfoReq) GetBuild() string
- func (m *GetInfoReq) GetPlatform() string
- func (m *GetInfoReq) Marshal() (dAtA []byte, err error)
- func (m *GetInfoReq) MarshalTo(dAtA []byte) (int, error)
- func (*GetInfoReq) ProtoMessage()
- func (m *GetInfoReq) Reset()
- func (m *GetInfoReq) Size() (n int)
- func (m *GetInfoReq) String() string
- func (m *GetInfoReq) Unmarshal(dAtA []byte) error
- func (m *GetInfoReq) XXX_DiscardUnknown()
- func (m *GetInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetInfoReq) XXX_Merge(src proto.Message)
- func (m *GetInfoReq) XXX_Size() int
- func (m *GetInfoReq) XXX_Unmarshal(b []byte) error
- type GetInfoResp
- func (*GetInfoResp) Descriptor() ([]byte, []int)
- func (m *GetInfoResp) GetId() int64
- func (m *GetInfoResp) GetImageUrl() string
- func (m *GetInfoResp) GetJumpPath() string
- func (m *GetInfoResp) GetJumpPathType() int64
- func (m *GetInfoResp) GetJumpTime() int64
- func (m *GetInfoResp) GetTitle() string
- func (m *GetInfoResp) Marshal() (dAtA []byte, err error)
- func (m *GetInfoResp) MarshalTo(dAtA []byte) (int, error)
- func (*GetInfoResp) ProtoMessage()
- func (m *GetInfoResp) Reset()
- func (m *GetInfoResp) Size() (n int)
- func (m *GetInfoResp) String() string
- func (m *GetInfoResp) Unmarshal(dAtA []byte) error
- func (m *GetInfoResp) XXX_DiscardUnknown()
- func (m *GetInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetInfoResp) XXX_Merge(src proto.Message)
- func (m *GetInfoResp) XXX_Size() int
- func (m *GetInfoResp) XXX_Unmarshal(b []byte) error
- type GetRoomInfoReq
- func (*GetRoomInfoReq) Descriptor() ([]byte, []int)
- func (m *GetRoomInfoReq) GetPlatform() string
- func (m *GetRoomInfoReq) Marshal() (dAtA []byte, err error)
- func (m *GetRoomInfoReq) MarshalTo(dAtA []byte) (int, error)
- func (*GetRoomInfoReq) ProtoMessage()
- func (m *GetRoomInfoReq) Reset()
- func (m *GetRoomInfoReq) Size() (n int)
- func (m *GetRoomInfoReq) String() string
- func (m *GetRoomInfoReq) Unmarshal(dAtA []byte) error
- func (m *GetRoomInfoReq) XXX_DiscardUnknown()
- func (m *GetRoomInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetRoomInfoReq) XXX_Merge(src proto.Message)
- func (m *GetRoomInfoReq) XXX_Size() int
- func (m *GetRoomInfoReq) XXX_Unmarshal(b []byte) error
- type GetRoomInfoResp
- func (*GetRoomInfoResp) Descriptor() ([]byte, []int)
- func (m *GetRoomInfoResp) GetAreaV2Id() int64
- func (m *GetRoomInfoResp) GetAreaV2Name() string
- func (m *GetRoomInfoResp) GetFace() string
- func (m *GetRoomInfoResp) GetFcNum() int64
- func (m *GetRoomInfoResp) GetFullText() string
- func (m *GetRoomInfoResp) GetIdentifyStatus() int64
- func (m *GetRoomInfoResp) GetIsMedal() int64
- func (m *GetRoomInfoResp) GetLiveStatus() int64
- func (m *GetRoomInfoResp) GetLockStatus() int64
- func (m *GetRoomInfoResp) GetLockTime() string
- func (m *GetRoomInfoResp) GetMasterLevel() int64
- func (m *GetRoomInfoResp) GetMasterLevelColor() int64
- func (m *GetRoomInfoResp) GetMasterNextLevel() int64
- func (m *GetRoomInfoResp) GetMasterNextLevelScore() int64
- func (m *GetRoomInfoResp) GetMasterScore() int64
- func (m *GetRoomInfoResp) GetMaxLevel() int64
- func (m *GetRoomInfoResp) GetMedalName() string
- func (m *GetRoomInfoResp) GetMedalRenameStatus() int64
- func (m *GetRoomInfoResp) GetMedalStatus() int64
- func (m *GetRoomInfoResp) GetOpenMedalLevel() int64
- func (m *GetRoomInfoResp) GetParentId() int64
- func (m *GetRoomInfoResp) GetParentName() string
- func (m *GetRoomInfoResp) GetRcost() int64
- func (m *GetRoomInfoResp) GetRoomId() int64
- func (m *GetRoomInfoResp) GetTitle() string
- func (m *GetRoomInfoResp) GetTryTime() string
- func (m *GetRoomInfoResp) GetUid() int64
- func (m *GetRoomInfoResp) GetUname() string
- func (m *GetRoomInfoResp) Marshal() (dAtA []byte, err error)
- func (m *GetRoomInfoResp) MarshalTo(dAtA []byte) (int, error)
- func (*GetRoomInfoResp) ProtoMessage()
- func (m *GetRoomInfoResp) Reset()
- func (m *GetRoomInfoResp) Size() (n int)
- func (m *GetRoomInfoResp) String() string
- func (m *GetRoomInfoResp) Unmarshal(dAtA []byte) error
- func (m *GetRoomInfoResp) XXX_DiscardUnknown()
- func (m *GetRoomInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetRoomInfoResp) XXX_Merge(src proto.Message)
- func (m *GetRoomInfoResp) XXX_Size() int
- func (m *GetRoomInfoResp) XXX_Unmarshal(b []byte) error
- type GetTopicListReq
- func (*GetTopicListReq) Descriptor() ([]byte, []int)
- func (m *GetTopicListReq) GetPlatform() string
- func (m *GetTopicListReq) Marshal() (dAtA []byte, err error)
- func (m *GetTopicListReq) MarshalTo(dAtA []byte) (int, error)
- func (*GetTopicListReq) ProtoMessage()
- func (m *GetTopicListReq) Reset()
- func (m *GetTopicListReq) Size() (n int)
- func (m *GetTopicListReq) String() string
- func (m *GetTopicListReq) Unmarshal(dAtA []byte) error
- func (m *GetTopicListReq) XXX_DiscardUnknown()
- func (m *GetTopicListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetTopicListReq) XXX_Merge(src proto.Message)
- func (m *GetTopicListReq) XXX_Size() int
- func (m *GetTopicListReq) XXX_Unmarshal(b []byte) error
- type GetTopicListResp
- func (*GetTopicListResp) Descriptor() ([]byte, []int)
- func (m *GetTopicListResp) GetTopicList() []string
- func (m *GetTopicListResp) Marshal() (dAtA []byte, err error)
- func (m *GetTopicListResp) MarshalTo(dAtA []byte) (int, error)
- func (*GetTopicListResp) ProtoMessage()
- func (m *GetTopicListResp) Reset()
- func (m *GetTopicListResp) Size() (n int)
- func (m *GetTopicListResp) String() string
- func (m *GetTopicListResp) Unmarshal(dAtA []byte) error
- func (m *GetTopicListResp) XXX_DiscardUnknown()
- func (m *GetTopicListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetTopicListResp) XXX_Merge(src proto.Message)
- func (m *GetTopicListResp) XXX_Size() int
- func (m *GetTopicListResp) XXX_Unmarshal(b []byte) error
- type RoomBMServer
- type SplashBMServer
- type TopicBMServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthAppBlink = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAppBlink = fmt.Errorf("proto: integer overflow") )
View Source
var PathBannerGetBlinkBanner = "/live.appblink.v1.Banner/GetBlinkBanner"
View Source
var PathRoomCreate = "/live.appblink.v1.Room/Create"
View Source
var PathRoomGetInfo = "/live.appblink.v1.Room/GetInfo"
View Source
var PathSplashGetInfo = "/live.appblink.v1.Splash/GetInfo"
View Source
var PathTopicCheckTopic = "/live.appblink.v1.Topic/CheckTopic"
View Source
var PathTopicGetTopicList = "/live.appblink.v1.Topic/GetTopicList"
Functions ¶
func RegisterBannerBMServer ¶
func RegisterBannerBMServer(e *bm.Engine, server BannerBMServer)
RegisterBannerBMServer Register the blademaster route
func RegisterRoomBMServer ¶
func RegisterRoomBMServer(e *bm.Engine, server RoomBMServer)
RegisterRoomBMServer Register the blademaster route
func RegisterSplashBMServer ¶
func RegisterSplashBMServer(e *bm.Engine, server SplashBMServer)
RegisterSplashBMServer Register the blademaster route
func RegisterTopicBMServer ¶
func RegisterTopicBMServer(e *bm.Engine, server TopicBMServer)
RegisterTopicBMServer Register the blademaster route
func RegisterV1RoomService ¶
func RegisterV1RoomService(e *bm.Engine, svc RoomBMServer, midMap map[string]bm.HandlerFunc)
RegisterV1RoomService Register the blademaster route with middleware map midMap is the middleware map, the key is defined in proto
func RegisterV1TopicService ¶
func RegisterV1TopicService(e *bm.Engine, svc TopicBMServer, midMap map[string]bm.HandlerFunc)
RegisterV1TopicService Register the blademaster route with middleware map midMap is the middleware map, the key is defined in proto
Types ¶
type BannerBMServer ¶
type BannerBMServer interface { }
type CheckTopicReq ¶
type CheckTopicReq struct { Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"` Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty" form:"topic" validate:"required"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CheckTopicReq) Descriptor ¶
func (*CheckTopicReq) Descriptor() ([]byte, []int)
func (*CheckTopicReq) GetPlatform ¶
func (m *CheckTopicReq) GetPlatform() string
func (*CheckTopicReq) GetTopic ¶
func (m *CheckTopicReq) GetTopic() string
func (*CheckTopicReq) Marshal ¶
func (m *CheckTopicReq) Marshal() (dAtA []byte, err error)
func (*CheckTopicReq) ProtoMessage ¶
func (*CheckTopicReq) ProtoMessage()
func (*CheckTopicReq) Reset ¶
func (m *CheckTopicReq) Reset()
func (*CheckTopicReq) Size ¶
func (m *CheckTopicReq) Size() (n int)
func (*CheckTopicReq) String ¶
func (m *CheckTopicReq) String() string
func (*CheckTopicReq) Unmarshal ¶
func (m *CheckTopicReq) Unmarshal(dAtA []byte) error
func (*CheckTopicReq) XXX_DiscardUnknown ¶
func (m *CheckTopicReq) XXX_DiscardUnknown()
func (*CheckTopicReq) XXX_Marshal ¶
func (m *CheckTopicReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckTopicReq) XXX_Merge ¶
func (dst *CheckTopicReq) XXX_Merge(src proto.Message)
func (*CheckTopicReq) XXX_Size ¶
func (m *CheckTopicReq) XXX_Size() int
func (*CheckTopicReq) XXX_Unmarshal ¶
func (m *CheckTopicReq) XXX_Unmarshal(b []byte) error
type CheckTopicResp ¶
type CheckTopicResp struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CheckTopicResp) Descriptor ¶
func (*CheckTopicResp) Descriptor() ([]byte, []int)
func (*CheckTopicResp) Marshal ¶
func (m *CheckTopicResp) Marshal() (dAtA []byte, err error)
func (*CheckTopicResp) ProtoMessage ¶
func (*CheckTopicResp) ProtoMessage()
func (*CheckTopicResp) Reset ¶
func (m *CheckTopicResp) Reset()
func (*CheckTopicResp) Size ¶
func (m *CheckTopicResp) Size() (n int)
func (*CheckTopicResp) String ¶
func (m *CheckTopicResp) String() string
func (*CheckTopicResp) Unmarshal ¶
func (m *CheckTopicResp) Unmarshal(dAtA []byte) error
func (*CheckTopicResp) XXX_DiscardUnknown ¶
func (m *CheckTopicResp) XXX_DiscardUnknown()
func (*CheckTopicResp) XXX_Marshal ¶
func (m *CheckTopicResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckTopicResp) XXX_Merge ¶
func (dst *CheckTopicResp) XXX_Merge(src proto.Message)
func (*CheckTopicResp) XXX_Size ¶
func (m *CheckTopicResp) XXX_Size() int
func (*CheckTopicResp) XXX_Unmarshal ¶
func (m *CheckTopicResp) XXX_Unmarshal(b []byte) error
type CreateReq ¶
type CreateReq struct { Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateReq) Descriptor ¶
func (*CreateReq) GetPlatform ¶
func (*CreateReq) ProtoMessage ¶
func (*CreateReq) ProtoMessage()
func (*CreateReq) XXX_DiscardUnknown ¶
func (m *CreateReq) XXX_DiscardUnknown()
func (*CreateReq) XXX_Marshal ¶
func (*CreateReq) XXX_Unmarshal ¶
type CreateResp ¶
type CreateResp struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateResp) Descriptor ¶
func (*CreateResp) Descriptor() ([]byte, []int)
func (*CreateResp) GetRoomId ¶
func (m *CreateResp) GetRoomId() string
func (*CreateResp) Marshal ¶
func (m *CreateResp) Marshal() (dAtA []byte, err error)
func (*CreateResp) ProtoMessage ¶
func (*CreateResp) ProtoMessage()
func (*CreateResp) Reset ¶
func (m *CreateResp) Reset()
func (*CreateResp) Size ¶
func (m *CreateResp) Size() (n int)
func (*CreateResp) String ¶
func (m *CreateResp) String() string
func (*CreateResp) Unmarshal ¶
func (m *CreateResp) Unmarshal(dAtA []byte) error
func (*CreateResp) XXX_DiscardUnknown ¶
func (m *CreateResp) XXX_DiscardUnknown()
func (*CreateResp) XXX_Marshal ¶
func (m *CreateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateResp) XXX_Merge ¶
func (dst *CreateResp) XXX_Merge(src proto.Message)
func (*CreateResp) XXX_Size ¶
func (m *CreateResp) XXX_Size() int
func (*CreateResp) XXX_Unmarshal ¶
func (m *CreateResp) XXX_Unmarshal(b []byte) error
type GetInfoReq ¶
type GetInfoReq struct { Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"` Build string `protobuf:"bytes,2,opt,name=build,proto3" json:"build,omitempty" form:"build" validate:"required"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
获取当前有效闪屏配置(客户端)
func (*GetInfoReq) Descriptor ¶
func (*GetInfoReq) Descriptor() ([]byte, []int)
func (*GetInfoReq) GetBuild ¶
func (m *GetInfoReq) GetBuild() string
func (*GetInfoReq) GetPlatform ¶
func (m *GetInfoReq) GetPlatform() string
func (*GetInfoReq) Marshal ¶
func (m *GetInfoReq) Marshal() (dAtA []byte, err error)
func (*GetInfoReq) ProtoMessage ¶
func (*GetInfoReq) ProtoMessage()
func (*GetInfoReq) Reset ¶
func (m *GetInfoReq) Reset()
func (*GetInfoReq) Size ¶
func (m *GetInfoReq) Size() (n int)
func (*GetInfoReq) String ¶
func (m *GetInfoReq) String() string
func (*GetInfoReq) Unmarshal ¶
func (m *GetInfoReq) Unmarshal(dAtA []byte) error
func (*GetInfoReq) XXX_DiscardUnknown ¶
func (m *GetInfoReq) XXX_DiscardUnknown()
func (*GetInfoReq) XXX_Marshal ¶
func (m *GetInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetInfoReq) XXX_Merge ¶
func (dst *GetInfoReq) XXX_Merge(src proto.Message)
func (*GetInfoReq) XXX_Size ¶
func (m *GetInfoReq) XXX_Size() int
func (*GetInfoReq) XXX_Unmarshal ¶
func (m *GetInfoReq) XXX_Unmarshal(b []byte) error
type GetInfoResp ¶
type GetInfoResp struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"` JumpPath string `protobuf:"bytes,3,opt,name=jumpPath,proto3" json:"jumpPath"` JumpTime int64 `protobuf:"varint,4,opt,name=jumpTime,proto3" json:"jumpTime"` JumpPathType int64 `protobuf:"varint,5,opt,name=jumpPathType,proto3" json:"jumpPathType"` ImageUrl string `protobuf:"bytes,6,opt,name=imageUrl,proto3" json:"imageUrl"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetInfoResp) Descriptor ¶
func (*GetInfoResp) Descriptor() ([]byte, []int)
func (*GetInfoResp) GetId ¶
func (m *GetInfoResp) GetId() int64
func (*GetInfoResp) GetImageUrl ¶
func (m *GetInfoResp) GetImageUrl() string
func (*GetInfoResp) GetJumpPath ¶
func (m *GetInfoResp) GetJumpPath() string
func (*GetInfoResp) GetJumpPathType ¶
func (m *GetInfoResp) GetJumpPathType() int64
func (*GetInfoResp) GetJumpTime ¶
func (m *GetInfoResp) GetJumpTime() int64
func (*GetInfoResp) GetTitle ¶
func (m *GetInfoResp) GetTitle() string
func (*GetInfoResp) Marshal ¶
func (m *GetInfoResp) Marshal() (dAtA []byte, err error)
func (*GetInfoResp) ProtoMessage ¶
func (*GetInfoResp) ProtoMessage()
func (*GetInfoResp) Reset ¶
func (m *GetInfoResp) Reset()
func (*GetInfoResp) Size ¶
func (m *GetInfoResp) Size() (n int)
func (*GetInfoResp) String ¶
func (m *GetInfoResp) String() string
func (*GetInfoResp) Unmarshal ¶
func (m *GetInfoResp) Unmarshal(dAtA []byte) error
func (*GetInfoResp) XXX_DiscardUnknown ¶
func (m *GetInfoResp) XXX_DiscardUnknown()
func (*GetInfoResp) XXX_Marshal ¶
func (m *GetInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetInfoResp) XXX_Merge ¶
func (dst *GetInfoResp) XXX_Merge(src proto.Message)
func (*GetInfoResp) XXX_Size ¶
func (m *GetInfoResp) XXX_Size() int
func (*GetInfoResp) XXX_Unmarshal ¶
func (m *GetInfoResp) XXX_Unmarshal(b []byte) error
type GetRoomInfoReq ¶
type GetRoomInfoReq struct { Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRoomInfoReq) Descriptor ¶
func (*GetRoomInfoReq) Descriptor() ([]byte, []int)
func (*GetRoomInfoReq) GetPlatform ¶
func (m *GetRoomInfoReq) GetPlatform() string
func (*GetRoomInfoReq) Marshal ¶
func (m *GetRoomInfoReq) Marshal() (dAtA []byte, err error)
func (*GetRoomInfoReq) ProtoMessage ¶
func (*GetRoomInfoReq) ProtoMessage()
func (*GetRoomInfoReq) Reset ¶
func (m *GetRoomInfoReq) Reset()
func (*GetRoomInfoReq) Size ¶
func (m *GetRoomInfoReq) Size() (n int)
func (*GetRoomInfoReq) String ¶
func (m *GetRoomInfoReq) String() string
func (*GetRoomInfoReq) Unmarshal ¶
func (m *GetRoomInfoReq) Unmarshal(dAtA []byte) error
func (*GetRoomInfoReq) XXX_DiscardUnknown ¶
func (m *GetRoomInfoReq) XXX_DiscardUnknown()
func (*GetRoomInfoReq) XXX_Marshal ¶
func (m *GetRoomInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRoomInfoReq) XXX_Merge ¶
func (dst *GetRoomInfoReq) XXX_Merge(src proto.Message)
func (*GetRoomInfoReq) XXX_Size ¶
func (m *GetRoomInfoReq) XXX_Size() int
func (*GetRoomInfoReq) XXX_Unmarshal ¶
func (m *GetRoomInfoReq) XXX_Unmarshal(b []byte) error
type GetRoomInfoResp ¶
type GetRoomInfoResp struct { RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id"` Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"` Uname string `protobuf:"bytes,3,opt,name=uname,proto3" json:"uname"` Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title"` Face string `protobuf:"bytes,5,opt,name=face,proto3" json:"face"` TryTime string `protobuf:"bytes,7,opt,name=try_time,json=tryTime,proto3" json:"try_time"` LiveStatus int64 `protobuf:"varint,8,opt,name=live_status,json=liveStatus,proto3" json:"live_status"` AreaV2Name string `protobuf:"bytes,9,opt,name=area_v2_name,json=areaV2Name,proto3" json:"area_v2_name"` AreaV2Id int64 `protobuf:"varint,10,opt,name=area_v2_id,json=areaV2Id,proto3" json:"area_v2_id"` MasterLevel int64 `protobuf:"varint,11,opt,name=master_level,json=masterLevel,proto3" json:"master_level"` MasterLevelColor int64 `protobuf:"varint,12,opt,name=master_level_color,json=masterLevelColor,proto3" json:"master_level_color"` MasterScore int64 `protobuf:"varint,13,opt,name=master_score,json=masterScore,proto3" json:"master_score"` MasterNextLevel int64 `protobuf:"varint,14,opt,name=master_next_level,json=masterNextLevel,proto3" json:"master_next_level"` MaxLevel int64 `protobuf:"varint,15,opt,name=max_level,json=maxLevel,proto3" json:"max_level"` FcNum int64 `protobuf:"varint,16,opt,name=fc_num,json=fcNum,proto3" json:"fc_num"` Rcost int64 `protobuf:"varint,17,opt,name=rcost,proto3" json:"rcost"` MedalStatus int64 `protobuf:"varint,18,opt,name=medal_status,json=medalStatus,proto3" json:"medal_status"` MedalName string `protobuf:"bytes,19,opt,name=medal_name,json=medalName,proto3" json:"medal_name"` MedalRenameStatus int64 `protobuf:"varint,20,opt,name=medal_rename_status,json=medalRenameStatus,proto3" json:"medal_rename_status"` IsMedal int64 `protobuf:"varint,21,opt,name=is_medal,json=isMedal,proto3" json:"is_medal"` FullText string `protobuf:"bytes,22,opt,name=full_text,json=fullText,proto3" json:"full_text"` IdentifyStatus int64 `protobuf:"varint,23,opt,name=identify_status,json=identifyStatus,proto3" json:"identify_status"` LockStatus int64 `protobuf:"varint,24,opt,name=lock_status,json=lockStatus,proto3" json:"lock_status"` LockTime string `protobuf:"bytes,25,opt,name=lock_time,json=lockTime,proto3" json:"lock_time"` OpenMedalLevel int64 `protobuf:"varint,26,opt,name=open_medal_level,json=openMedalLevel,proto3" json:"open_medal_level"` MasterNextLevelScore int64 `protobuf:"varint,27,opt,name=master_next_level_score,json=masterNextLevelScore,proto3" json:"master_next_level_score"` ParentId int64 `protobuf:"varint,28,opt,name=parent_id,json=parentId,proto3" json:"parent_id"` ParentName string `protobuf:"bytes,29,opt,name=parent_name,json=parentName,proto3" json:"parent_name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRoomInfoResp) Descriptor ¶
func (*GetRoomInfoResp) Descriptor() ([]byte, []int)
func (*GetRoomInfoResp) GetAreaV2Id ¶
func (m *GetRoomInfoResp) GetAreaV2Id() int64
func (*GetRoomInfoResp) GetAreaV2Name ¶
func (m *GetRoomInfoResp) GetAreaV2Name() string
func (*GetRoomInfoResp) GetFace ¶
func (m *GetRoomInfoResp) GetFace() string
func (*GetRoomInfoResp) GetFcNum ¶
func (m *GetRoomInfoResp) GetFcNum() int64
func (*GetRoomInfoResp) GetFullText ¶
func (m *GetRoomInfoResp) GetFullText() string
func (*GetRoomInfoResp) GetIdentifyStatus ¶
func (m *GetRoomInfoResp) GetIdentifyStatus() int64
func (*GetRoomInfoResp) GetIsMedal ¶
func (m *GetRoomInfoResp) GetIsMedal() int64
func (*GetRoomInfoResp) GetLiveStatus ¶
func (m *GetRoomInfoResp) GetLiveStatus() int64
func (*GetRoomInfoResp) GetLockStatus ¶
func (m *GetRoomInfoResp) GetLockStatus() int64
func (*GetRoomInfoResp) GetLockTime ¶
func (m *GetRoomInfoResp) GetLockTime() string
func (*GetRoomInfoResp) GetMasterLevel ¶
func (m *GetRoomInfoResp) GetMasterLevel() int64
func (*GetRoomInfoResp) GetMasterLevelColor ¶
func (m *GetRoomInfoResp) GetMasterLevelColor() int64
func (*GetRoomInfoResp) GetMasterNextLevel ¶
func (m *GetRoomInfoResp) GetMasterNextLevel() int64
func (*GetRoomInfoResp) GetMasterNextLevelScore ¶
func (m *GetRoomInfoResp) GetMasterNextLevelScore() int64
func (*GetRoomInfoResp) GetMasterScore ¶
func (m *GetRoomInfoResp) GetMasterScore() int64
func (*GetRoomInfoResp) GetMaxLevel ¶
func (m *GetRoomInfoResp) GetMaxLevel() int64
func (*GetRoomInfoResp) GetMedalName ¶
func (m *GetRoomInfoResp) GetMedalName() string
func (*GetRoomInfoResp) GetMedalRenameStatus ¶
func (m *GetRoomInfoResp) GetMedalRenameStatus() int64
func (*GetRoomInfoResp) GetMedalStatus ¶
func (m *GetRoomInfoResp) GetMedalStatus() int64
func (*GetRoomInfoResp) GetOpenMedalLevel ¶
func (m *GetRoomInfoResp) GetOpenMedalLevel() int64
func (*GetRoomInfoResp) GetParentId ¶
func (m *GetRoomInfoResp) GetParentId() int64
func (*GetRoomInfoResp) GetParentName ¶
func (m *GetRoomInfoResp) GetParentName() string
func (*GetRoomInfoResp) GetRcost ¶
func (m *GetRoomInfoResp) GetRcost() int64
func (*GetRoomInfoResp) GetRoomId ¶
func (m *GetRoomInfoResp) GetRoomId() int64
func (*GetRoomInfoResp) GetTitle ¶
func (m *GetRoomInfoResp) GetTitle() string
func (*GetRoomInfoResp) GetTryTime ¶
func (m *GetRoomInfoResp) GetTryTime() string
func (*GetRoomInfoResp) GetUid ¶
func (m *GetRoomInfoResp) GetUid() int64
func (*GetRoomInfoResp) GetUname ¶
func (m *GetRoomInfoResp) GetUname() string
func (*GetRoomInfoResp) Marshal ¶
func (m *GetRoomInfoResp) Marshal() (dAtA []byte, err error)
func (*GetRoomInfoResp) ProtoMessage ¶
func (*GetRoomInfoResp) ProtoMessage()
func (*GetRoomInfoResp) Reset ¶
func (m *GetRoomInfoResp) Reset()
func (*GetRoomInfoResp) Size ¶
func (m *GetRoomInfoResp) Size() (n int)
func (*GetRoomInfoResp) String ¶
func (m *GetRoomInfoResp) String() string
func (*GetRoomInfoResp) Unmarshal ¶
func (m *GetRoomInfoResp) Unmarshal(dAtA []byte) error
func (*GetRoomInfoResp) XXX_DiscardUnknown ¶
func (m *GetRoomInfoResp) XXX_DiscardUnknown()
func (*GetRoomInfoResp) XXX_Marshal ¶
func (m *GetRoomInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRoomInfoResp) XXX_Merge ¶
func (dst *GetRoomInfoResp) XXX_Merge(src proto.Message)
func (*GetRoomInfoResp) XXX_Size ¶
func (m *GetRoomInfoResp) XXX_Size() int
func (*GetRoomInfoResp) XXX_Unmarshal ¶
func (m *GetRoomInfoResp) XXX_Unmarshal(b []byte) error
type GetTopicListReq ¶
type GetTopicListReq struct { Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTopicListReq) Descriptor ¶
func (*GetTopicListReq) Descriptor() ([]byte, []int)
func (*GetTopicListReq) GetPlatform ¶
func (m *GetTopicListReq) GetPlatform() string
func (*GetTopicListReq) Marshal ¶
func (m *GetTopicListReq) Marshal() (dAtA []byte, err error)
func (*GetTopicListReq) ProtoMessage ¶
func (*GetTopicListReq) ProtoMessage()
func (*GetTopicListReq) Reset ¶
func (m *GetTopicListReq) Reset()
func (*GetTopicListReq) Size ¶
func (m *GetTopicListReq) Size() (n int)
func (*GetTopicListReq) String ¶
func (m *GetTopicListReq) String() string
func (*GetTopicListReq) Unmarshal ¶
func (m *GetTopicListReq) Unmarshal(dAtA []byte) error
func (*GetTopicListReq) XXX_DiscardUnknown ¶
func (m *GetTopicListReq) XXX_DiscardUnknown()
func (*GetTopicListReq) XXX_Marshal ¶
func (m *GetTopicListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTopicListReq) XXX_Merge ¶
func (dst *GetTopicListReq) XXX_Merge(src proto.Message)
func (*GetTopicListReq) XXX_Size ¶
func (m *GetTopicListReq) XXX_Size() int
func (*GetTopicListReq) XXX_Unmarshal ¶
func (m *GetTopicListReq) XXX_Unmarshal(b []byte) error
type GetTopicListResp ¶
type GetTopicListResp struct { TopicList []string `protobuf:"bytes,1,rep,name=topic_list,json=topicList" json:"topic_list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTopicListResp) Descriptor ¶
func (*GetTopicListResp) Descriptor() ([]byte, []int)
func (*GetTopicListResp) GetTopicList ¶
func (m *GetTopicListResp) GetTopicList() []string
func (*GetTopicListResp) Marshal ¶
func (m *GetTopicListResp) Marshal() (dAtA []byte, err error)
func (*GetTopicListResp) ProtoMessage ¶
func (*GetTopicListResp) ProtoMessage()
func (*GetTopicListResp) Reset ¶
func (m *GetTopicListResp) Reset()
func (*GetTopicListResp) Size ¶
func (m *GetTopicListResp) Size() (n int)
func (*GetTopicListResp) String ¶
func (m *GetTopicListResp) String() string
func (*GetTopicListResp) Unmarshal ¶
func (m *GetTopicListResp) Unmarshal(dAtA []byte) error
func (*GetTopicListResp) XXX_DiscardUnknown ¶
func (m *GetTopicListResp) XXX_DiscardUnknown()
func (*GetTopicListResp) XXX_Marshal ¶
func (m *GetTopicListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTopicListResp) XXX_Merge ¶
func (dst *GetTopicListResp) XXX_Merge(src proto.Message)
func (*GetTopicListResp) XXX_Size ¶
func (m *GetTopicListResp) XXX_Size() int
func (*GetTopicListResp) XXX_Unmarshal ¶
func (m *GetTopicListResp) XXX_Unmarshal(b []byte) error
type RoomBMServer ¶
type RoomBMServer interface { // 获取房间基本信息 // `method:"GET" midware:"auth"` GetInfo(ctx context.Context, req *GetRoomInfoReq) (resp *GetRoomInfoResp, err error) // 创建房间 // `method:"POST" midware:"auth"` Create(ctx context.Context, req *CreateReq) (resp *CreateResp, err error) }
type SplashBMServer ¶
type SplashBMServer interface { }
type TopicBMServer ¶
type TopicBMServer interface { // 获取话题列表 // `method:"GET" midware:"auth"` GetTopicList(ctx context.Context, req *GetTopicListReq) (resp *GetTopicListResp, err error) // 检验话题是否有效 // `method:"GET" midware:"auth"` CheckTopic(ctx context.Context, req *CheckTopicReq) (resp *CheckTopicResp, err error) }
Click to show internal directories.
Click to hide internal directories.