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:
api/http/v1/captcha.proto
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:
api/http/v1/dm.proto
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:
api/http/v1/roomAdmin.proto
Index ¶
- Variables
- func RegisterV1CaptchaService(e *bm.Engine, svc Captcha, midMap map[string]bm.HandlerFunc)
- func RegisterV1DMService(e *bm.Engine, svc DM, midMap map[string]bm.HandlerFunc)
- func RegisterV1RoomAdminService(e *bm.Engine, svc RoomAdmin, midMap map[string]bm.HandlerFunc)
- type Captcha
- type CreateCaptchaReq
- func (*CreateCaptchaReq) Descriptor() ([]byte, []int)
- func (m *CreateCaptchaReq) GetClientType() string
- func (m *CreateCaptchaReq) GetHeight() int64
- func (m *CreateCaptchaReq) GetType() int64
- func (m *CreateCaptchaReq) GetWidth() int64
- func (m *CreateCaptchaReq) Marshal() (dAtA []byte, err error)
- func (m *CreateCaptchaReq) MarshalTo(dAtA []byte) (int, error)
- func (*CreateCaptchaReq) ProtoMessage()
- func (m *CreateCaptchaReq) Reset()
- func (m *CreateCaptchaReq) Size() (n int)
- func (m *CreateCaptchaReq) String() string
- func (m *CreateCaptchaReq) Unmarshal(dAtA []byte) error
- func (m *CreateCaptchaReq) XXX_DiscardUnknown()
- func (m *CreateCaptchaReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateCaptchaReq) XXX_Merge(src proto.Message)
- func (m *CreateCaptchaReq) XXX_Size() int
- func (m *CreateCaptchaReq) XXX_Unmarshal(b []byte) error
- type CreateCaptchaResp
- func (*CreateCaptchaResp) Descriptor() ([]byte, []int)
- func (m *CreateCaptchaResp) GetGeetest() *GeeTest
- func (m *CreateCaptchaResp) GetImage() *Image
- func (m *CreateCaptchaResp) GetType() int64
- func (m *CreateCaptchaResp) Marshal() (dAtA []byte, err error)
- func (m *CreateCaptchaResp) MarshalTo(dAtA []byte) (int, error)
- func (*CreateCaptchaResp) ProtoMessage()
- func (m *CreateCaptchaResp) Reset()
- func (m *CreateCaptchaResp) Size() (n int)
- func (m *CreateCaptchaResp) String() string
- func (m *CreateCaptchaResp) Unmarshal(dAtA []byte) error
- func (m *CreateCaptchaResp) XXX_DiscardUnknown()
- func (m *CreateCaptchaResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateCaptchaResp) XXX_Merge(src proto.Message)
- func (m *CreateCaptchaResp) XXX_Size() int
- func (m *CreateCaptchaResp) XXX_Unmarshal(b []byte) error
- type DM
- type GeeTest
- func (*GeeTest) Descriptor() ([]byte, []int)
- func (m *GeeTest) GetChallenge() string
- func (m *GeeTest) GetGt() string
- func (m *GeeTest) Marshal() (dAtA []byte, err error)
- func (m *GeeTest) MarshalTo(dAtA []byte) (int, error)
- func (*GeeTest) ProtoMessage()
- func (m *GeeTest) Reset()
- func (m *GeeTest) Size() (n int)
- func (m *GeeTest) String() string
- func (m *GeeTest) Unmarshal(dAtA []byte) error
- func (m *GeeTest) XXX_DiscardUnknown()
- func (m *GeeTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GeeTest) XXX_Merge(src proto.Message)
- func (m *GeeTest) XXX_Size() int
- func (m *GeeTest) XXX_Unmarshal(b []byte) error
- type HistoryReq
- func (*HistoryReq) Descriptor() ([]byte, []int)
- func (m *HistoryReq) GetRoomid() int64
- func (m *HistoryReq) Marshal() (dAtA []byte, err error)
- func (m *HistoryReq) MarshalTo(dAtA []byte) (int, error)
- func (*HistoryReq) ProtoMessage()
- func (m *HistoryReq) Reset()
- func (m *HistoryReq) Size() (n int)
- func (m *HistoryReq) String() string
- func (m *HistoryReq) Unmarshal(dAtA []byte) error
- func (m *HistoryReq) XXX_DiscardUnknown()
- func (m *HistoryReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HistoryReq) XXX_Merge(src proto.Message)
- func (m *HistoryReq) XXX_Size() int
- func (m *HistoryReq) XXX_Unmarshal(b []byte) error
- type HistoryResp
- func (*HistoryResp) Descriptor() ([]byte, []int)
- func (m *HistoryResp) GetAdmin() []string
- func (m *HistoryResp) GetRoom() []string
- func (m *HistoryResp) Marshal() (dAtA []byte, err error)
- func (m *HistoryResp) MarshalTo(dAtA []byte) (int, error)
- func (*HistoryResp) ProtoMessage()
- func (m *HistoryResp) Reset()
- func (m *HistoryResp) Size() (n int)
- func (m *HistoryResp) String() string
- func (m *HistoryResp) Unmarshal(dAtA []byte) error
- func (m *HistoryResp) XXX_DiscardUnknown()
- func (m *HistoryResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HistoryResp) XXX_Merge(src proto.Message)
- func (m *HistoryResp) XXX_Size() int
- func (m *HistoryResp) XXX_Unmarshal(b []byte) error
- type Image
- func (*Image) Descriptor() ([]byte, []int)
- func (m *Image) GetContent() string
- func (m *Image) GetTips() string
- func (m *Image) GetToken() string
- func (m *Image) Marshal() (dAtA []byte, err error)
- func (m *Image) MarshalTo(dAtA []byte) (int, error)
- func (*Image) ProtoMessage()
- func (m *Image) Reset()
- func (m *Image) Size() (n int)
- func (m *Image) String() string
- func (m *Image) Unmarshal(dAtA []byte) error
- func (m *Image) XXX_DiscardUnknown()
- func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Image) XXX_Merge(src proto.Message)
- func (m *Image) XXX_Size() int
- func (m *Image) XXX_Unmarshal(b []byte) error
- type RoomAdmin
- type RoomAdminGetByRoomReq
- func (*RoomAdminGetByRoomReq) Descriptor() ([]byte, []int)
- func (m *RoomAdminGetByRoomReq) GetPage() int64
- func (m *RoomAdminGetByRoomReq) GetPageSize() int64
- func (m *RoomAdminGetByRoomReq) GetRoomid() int64
- func (m *RoomAdminGetByRoomReq) Marshal() (dAtA []byte, err error)
- func (m *RoomAdminGetByRoomReq) MarshalTo(dAtA []byte) (int, error)
- func (*RoomAdminGetByRoomReq) ProtoMessage()
- func (m *RoomAdminGetByRoomReq) Reset()
- func (m *RoomAdminGetByRoomReq) Size() (n int)
- func (m *RoomAdminGetByRoomReq) String() string
- func (m *RoomAdminGetByRoomReq) Unmarshal(dAtA []byte) error
- func (m *RoomAdminGetByRoomReq) XXX_DiscardUnknown()
- func (m *RoomAdminGetByRoomReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RoomAdminGetByRoomReq) XXX_Merge(src proto.Message)
- func (m *RoomAdminGetByRoomReq) XXX_Size() int
- func (m *RoomAdminGetByRoomReq) XXX_Unmarshal(b []byte) error
- type RoomAdminGetByRoomResp
- func (*RoomAdminGetByRoomResp) Descriptor() ([]byte, []int)
- func (m *RoomAdminGetByRoomResp) GetData() []*RoomAdminGetByRoomResp_Data
- func (m *RoomAdminGetByRoomResp) GetPage() *RoomAdminGetByRoomResp_Page
- func (m *RoomAdminGetByRoomResp) Marshal() (dAtA []byte, err error)
- func (m *RoomAdminGetByRoomResp) MarshalTo(dAtA []byte) (int, error)
- func (*RoomAdminGetByRoomResp) ProtoMessage()
- func (m *RoomAdminGetByRoomResp) Reset()
- func (m *RoomAdminGetByRoomResp) Size() (n int)
- func (m *RoomAdminGetByRoomResp) String() string
- func (m *RoomAdminGetByRoomResp) Unmarshal(dAtA []byte) error
- func (m *RoomAdminGetByRoomResp) XXX_DiscardUnknown()
- func (m *RoomAdminGetByRoomResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RoomAdminGetByRoomResp) XXX_Merge(src proto.Message)
- func (m *RoomAdminGetByRoomResp) XXX_Size() int
- func (m *RoomAdminGetByRoomResp) XXX_Unmarshal(b []byte) error
- type RoomAdminGetByRoomResp_Data
- func (*RoomAdminGetByRoomResp_Data) Descriptor() ([]byte, []int)
- func (m *RoomAdminGetByRoomResp_Data) GetCtime() string
- func (m *RoomAdminGetByRoomResp_Data) GetFace() string
- func (m *RoomAdminGetByRoomResp_Data) GetUid() int64
- func (m *RoomAdminGetByRoomResp_Data) GetUname() string
- func (m *RoomAdminGetByRoomResp_Data) Marshal() (dAtA []byte, err error)
- func (m *RoomAdminGetByRoomResp_Data) MarshalTo(dAtA []byte) (int, error)
- func (*RoomAdminGetByRoomResp_Data) ProtoMessage()
- func (m *RoomAdminGetByRoomResp_Data) Reset()
- func (m *RoomAdminGetByRoomResp_Data) Size() (n int)
- func (m *RoomAdminGetByRoomResp_Data) String() string
- func (m *RoomAdminGetByRoomResp_Data) Unmarshal(dAtA []byte) error
- func (m *RoomAdminGetByRoomResp_Data) XXX_DiscardUnknown()
- func (m *RoomAdminGetByRoomResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RoomAdminGetByRoomResp_Data) XXX_Merge(src proto.Message)
- func (m *RoomAdminGetByRoomResp_Data) XXX_Size() int
- func (m *RoomAdminGetByRoomResp_Data) XXX_Unmarshal(b []byte) error
- type RoomAdminGetByRoomResp_Page
- func (*RoomAdminGetByRoomResp_Page) Descriptor() ([]byte, []int)
- func (m *RoomAdminGetByRoomResp_Page) GetPage() int64
- func (m *RoomAdminGetByRoomResp_Page) GetPageSize() int64
- func (m *RoomAdminGetByRoomResp_Page) GetTotalCount() int64
- func (m *RoomAdminGetByRoomResp_Page) GetTotalPage() int64
- func (m *RoomAdminGetByRoomResp_Page) Marshal() (dAtA []byte, err error)
- func (m *RoomAdminGetByRoomResp_Page) MarshalTo(dAtA []byte) (int, error)
- func (*RoomAdminGetByRoomResp_Page) ProtoMessage()
- func (m *RoomAdminGetByRoomResp_Page) Reset()
- func (m *RoomAdminGetByRoomResp_Page) Size() (n int)
- func (m *RoomAdminGetByRoomResp_Page) String() string
- func (m *RoomAdminGetByRoomResp_Page) Unmarshal(dAtA []byte) error
- func (m *RoomAdminGetByRoomResp_Page) XXX_DiscardUnknown()
- func (m *RoomAdminGetByRoomResp_Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RoomAdminGetByRoomResp_Page) XXX_Merge(src proto.Message)
- func (m *RoomAdminGetByRoomResp_Page) XXX_Size() int
- func (m *RoomAdminGetByRoomResp_Page) XXX_Unmarshal(b []byte) error
- type SendDMReq
- func (*SendDMReq) Descriptor() ([]byte, []int)
- func (m *SendDMReq) GetAnti() string
- func (m *SendDMReq) GetBubble() int64
- func (m *SendDMReq) GetColor() int64
- func (m *SendDMReq) GetFontsize() int64
- func (m *SendDMReq) GetMode() int64
- func (m *SendDMReq) GetMsg() string
- func (m *SendDMReq) GetRnd() string
- func (m *SendDMReq) GetRoomid() int64
- func (m *SendDMReq) Marshal() (dAtA []byte, err error)
- func (m *SendDMReq) MarshalTo(dAtA []byte) (int, error)
- func (*SendDMReq) ProtoMessage()
- func (m *SendDMReq) Reset()
- func (m *SendDMReq) Size() (n int)
- func (m *SendDMReq) String() string
- func (m *SendDMReq) Unmarshal(dAtA []byte) error
- func (m *SendDMReq) XXX_DiscardUnknown()
- func (m *SendDMReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SendDMReq) XXX_Merge(src proto.Message)
- func (m *SendDMReq) XXX_Size() int
- func (m *SendDMReq) XXX_Unmarshal(b []byte) error
- type SendMsgResp
- func (*SendMsgResp) Descriptor() ([]byte, []int)
- func (m *SendMsgResp) Marshal() (dAtA []byte, err error)
- func (m *SendMsgResp) MarshalTo(dAtA []byte) (int, error)
- func (*SendMsgResp) ProtoMessage()
- func (m *SendMsgResp) Reset()
- func (m *SendMsgResp) Size() (n int)
- func (m *SendMsgResp) String() string
- func (m *SendMsgResp) Unmarshal(dAtA []byte) error
- func (m *SendMsgResp) XXX_DiscardUnknown()
- func (m *SendMsgResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SendMsgResp) XXX_Merge(src proto.Message)
- func (m *SendMsgResp) XXX_Size() int
- func (m *SendMsgResp) XXX_Unmarshal(b []byte) error
- type VerifyReq
- func (*VerifyReq) Descriptor() ([]byte, []int)
- func (m *VerifyReq) GetAnti() string
- func (m *VerifyReq) Marshal() (dAtA []byte, err error)
- func (m *VerifyReq) MarshalTo(dAtA []byte) (int, error)
- func (*VerifyReq) ProtoMessage()
- func (m *VerifyReq) Reset()
- func (m *VerifyReq) Size() (n int)
- func (m *VerifyReq) String() string
- func (m *VerifyReq) Unmarshal(dAtA []byte) error
- func (m *VerifyReq) XXX_DiscardUnknown()
- func (m *VerifyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VerifyReq) XXX_Merge(src proto.Message)
- func (m *VerifyReq) XXX_Size() int
- func (m *VerifyReq) XXX_Unmarshal(b []byte) error
- type VerifyResp
- func (*VerifyResp) Descriptor() ([]byte, []int)
- func (m *VerifyResp) GetToken() string
- func (m *VerifyResp) GetType() int64
- func (m *VerifyResp) Marshal() (dAtA []byte, err error)
- func (m *VerifyResp) MarshalTo(dAtA []byte) (int, error)
- func (*VerifyResp) ProtoMessage()
- func (m *VerifyResp) Reset()
- func (m *VerifyResp) Size() (n int)
- func (m *VerifyResp) String() string
- func (m *VerifyResp) Unmarshal(dAtA []byte) error
- func (m *VerifyResp) XXX_DiscardUnknown()
- func (m *VerifyResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VerifyResp) XXX_Merge(src proto.Message)
- func (m *VerifyResp) XXX_Size() int
- func (m *VerifyResp) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthCaptcha = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCaptcha = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthDm = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDm = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthRoomAdmin = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRoomAdmin = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterV1CaptchaService ¶
RegisterV1CaptchaService Register the blademaster route with middleware map midMap is the middleware map, the key is defined in proto
func RegisterV1DMService ¶
RegisterV1DMService Register the blademaster route with middleware map midMap is the middleware map, the key is defined in proto
func RegisterV1RoomAdminService ¶
RegisterV1RoomAdminService Register the blademaster route with middleware map midMap is the middleware map, the key is defined in proto
Types ¶
type Captcha ¶
type Captcha interface { // 创建验证码 `midware:"auth"` Create(ctx context.Context, req *CreateCaptchaReq) (resp *CreateCaptchaResp, err error) // 校验接口 `midware:"auth" method:"POST"` Verify(ctx context.Context, req *VerifyReq) (resp *VerifyResp, err error) }
captcha 相关服务
type CreateCaptchaReq ¶
type CreateCaptchaReq struct { Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty" form:"type"` ClientType string `protobuf:"bytes,2,opt,name=client_type,json=clientType,proto3" json:"client_type,omitempty" form:"client_type"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty" form:"height"` Width int64 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty" form:"width"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateCaptchaReq) Descriptor ¶
func (*CreateCaptchaReq) Descriptor() ([]byte, []int)
func (*CreateCaptchaReq) GetClientType ¶
func (m *CreateCaptchaReq) GetClientType() string
func (*CreateCaptchaReq) GetHeight ¶
func (m *CreateCaptchaReq) GetHeight() int64
func (*CreateCaptchaReq) GetType ¶
func (m *CreateCaptchaReq) GetType() int64
func (*CreateCaptchaReq) GetWidth ¶
func (m *CreateCaptchaReq) GetWidth() int64
func (*CreateCaptchaReq) Marshal ¶
func (m *CreateCaptchaReq) Marshal() (dAtA []byte, err error)
func (*CreateCaptchaReq) ProtoMessage ¶
func (*CreateCaptchaReq) ProtoMessage()
func (*CreateCaptchaReq) Reset ¶
func (m *CreateCaptchaReq) Reset()
func (*CreateCaptchaReq) Size ¶
func (m *CreateCaptchaReq) Size() (n int)
func (*CreateCaptchaReq) String ¶
func (m *CreateCaptchaReq) String() string
func (*CreateCaptchaReq) Unmarshal ¶
func (m *CreateCaptchaReq) Unmarshal(dAtA []byte) error
func (*CreateCaptchaReq) XXX_DiscardUnknown ¶
func (m *CreateCaptchaReq) XXX_DiscardUnknown()
func (*CreateCaptchaReq) XXX_Marshal ¶
func (m *CreateCaptchaReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateCaptchaReq) XXX_Merge ¶
func (dst *CreateCaptchaReq) XXX_Merge(src proto.Message)
func (*CreateCaptchaReq) XXX_Size ¶
func (m *CreateCaptchaReq) XXX_Size() int
func (*CreateCaptchaReq) XXX_Unmarshal ¶
func (m *CreateCaptchaReq) XXX_Unmarshal(b []byte) error
type CreateCaptchaResp ¶
type CreateCaptchaResp struct { Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type"` Geetest *GeeTest `protobuf:"bytes,2,opt,name=geetest" json:"geetest"` Image *Image `protobuf:"bytes,3,opt,name=image" json:"image"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateCaptchaResp) Descriptor ¶
func (*CreateCaptchaResp) Descriptor() ([]byte, []int)
func (*CreateCaptchaResp) GetGeetest ¶
func (m *CreateCaptchaResp) GetGeetest() *GeeTest
func (*CreateCaptchaResp) GetImage ¶
func (m *CreateCaptchaResp) GetImage() *Image
func (*CreateCaptchaResp) GetType ¶
func (m *CreateCaptchaResp) GetType() int64
func (*CreateCaptchaResp) Marshal ¶
func (m *CreateCaptchaResp) Marshal() (dAtA []byte, err error)
func (*CreateCaptchaResp) MarshalTo ¶
func (m *CreateCaptchaResp) MarshalTo(dAtA []byte) (int, error)
func (*CreateCaptchaResp) ProtoMessage ¶
func (*CreateCaptchaResp) ProtoMessage()
func (*CreateCaptchaResp) Reset ¶
func (m *CreateCaptchaResp) Reset()
func (*CreateCaptchaResp) Size ¶
func (m *CreateCaptchaResp) Size() (n int)
func (*CreateCaptchaResp) String ¶
func (m *CreateCaptchaResp) String() string
func (*CreateCaptchaResp) Unmarshal ¶
func (m *CreateCaptchaResp) Unmarshal(dAtA []byte) error
func (*CreateCaptchaResp) XXX_DiscardUnknown ¶
func (m *CreateCaptchaResp) XXX_DiscardUnknown()
func (*CreateCaptchaResp) XXX_Marshal ¶
func (m *CreateCaptchaResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateCaptchaResp) XXX_Merge ¶
func (dst *CreateCaptchaResp) XXX_Merge(src proto.Message)
func (*CreateCaptchaResp) XXX_Size ¶
func (m *CreateCaptchaResp) XXX_Size() int
func (*CreateCaptchaResp) XXX_Unmarshal ¶
func (m *CreateCaptchaResp) XXX_Unmarshal(b []byte) error
type DM ¶
type DM interface { // `method:"POST"` SendMsg(ctx context.Context, req *SendDMReq) (resp *SendMsgResp, err error) // `method:"POST"` GetHistory(ctx context.Context, req *HistoryReq) (resp *HistoryResp, err error) }
type GeeTest ¶
type GeeTest struct { Gt string `protobuf:"bytes,1,opt,name=gt,proto3" json:"gt"` Challenge string `protobuf:"bytes,2,opt,name=challenge,proto3" json:"challenge"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GeeTest) Descriptor ¶
func (*GeeTest) GetChallenge ¶
func (*GeeTest) ProtoMessage ¶
func (*GeeTest) ProtoMessage()
func (*GeeTest) XXX_DiscardUnknown ¶
func (m *GeeTest) XXX_DiscardUnknown()
func (*GeeTest) XXX_Marshal ¶
func (*GeeTest) XXX_Unmarshal ¶
type HistoryReq ¶
type HistoryReq struct { Roomid int64 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty" form:"roomid" validate:"required"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HistoryReq) Descriptor ¶
func (*HistoryReq) Descriptor() ([]byte, []int)
func (*HistoryReq) GetRoomid ¶
func (m *HistoryReq) GetRoomid() int64
func (*HistoryReq) Marshal ¶
func (m *HistoryReq) Marshal() (dAtA []byte, err error)
func (*HistoryReq) ProtoMessage ¶
func (*HistoryReq) ProtoMessage()
func (*HistoryReq) Reset ¶
func (m *HistoryReq) Reset()
func (*HistoryReq) Size ¶
func (m *HistoryReq) Size() (n int)
func (*HistoryReq) String ¶
func (m *HistoryReq) String() string
func (*HistoryReq) Unmarshal ¶
func (m *HistoryReq) Unmarshal(dAtA []byte) error
func (*HistoryReq) XXX_DiscardUnknown ¶
func (m *HistoryReq) XXX_DiscardUnknown()
func (*HistoryReq) XXX_Marshal ¶
func (m *HistoryReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HistoryReq) XXX_Merge ¶
func (dst *HistoryReq) XXX_Merge(src proto.Message)
func (*HistoryReq) XXX_Size ¶
func (m *HistoryReq) XXX_Size() int
func (*HistoryReq) XXX_Unmarshal ¶
func (m *HistoryReq) XXX_Unmarshal(b []byte) error
type HistoryResp ¶
type HistoryResp struct { Room []string `protobuf:"bytes,1,rep,name=Room" json:"Room,omitempty"` Admin []string `protobuf:"bytes,2,rep,name=Admin" json:"Admin,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HistoryResp) Descriptor ¶
func (*HistoryResp) Descriptor() ([]byte, []int)
func (*HistoryResp) GetAdmin ¶
func (m *HistoryResp) GetAdmin() []string
func (*HistoryResp) GetRoom ¶
func (m *HistoryResp) GetRoom() []string
func (*HistoryResp) Marshal ¶
func (m *HistoryResp) Marshal() (dAtA []byte, err error)
func (*HistoryResp) ProtoMessage ¶
func (*HistoryResp) ProtoMessage()
func (*HistoryResp) Reset ¶
func (m *HistoryResp) Reset()
func (*HistoryResp) Size ¶
func (m *HistoryResp) Size() (n int)
func (*HistoryResp) String ¶
func (m *HistoryResp) String() string
func (*HistoryResp) Unmarshal ¶
func (m *HistoryResp) Unmarshal(dAtA []byte) error
func (*HistoryResp) XXX_DiscardUnknown ¶
func (m *HistoryResp) XXX_DiscardUnknown()
func (*HistoryResp) XXX_Marshal ¶
func (m *HistoryResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HistoryResp) XXX_Merge ¶
func (dst *HistoryResp) XXX_Merge(src proto.Message)
func (*HistoryResp) XXX_Size ¶
func (m *HistoryResp) XXX_Size() int
func (*HistoryResp) XXX_Unmarshal ¶
func (m *HistoryResp) XXX_Unmarshal(b []byte) error
type Image ¶
type Image struct { Tips string `protobuf:"bytes,1,opt,name=tips,proto3" json:"tips"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Image) Descriptor ¶
func (*Image) GetContent ¶
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) XXX_DiscardUnknown ¶
func (m *Image) XXX_DiscardUnknown()
func (*Image) XXX_Marshal ¶
func (*Image) XXX_Unmarshal ¶
type RoomAdmin ¶
type RoomAdmin interface { // 获取主播拥有的的所有房管, 无需登录态 // `method:"GET" GetByRoom(ctx context.Context, req *RoomAdminGetByRoomReq) (resp *RoomAdminGetByRoomResp, err error) }
History 相关服务
type RoomAdminGetByRoomReq ¶
type RoomAdminGetByRoomReq struct { // 页数 Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty" form:"page"` // 房间号 Roomid int64 `protobuf:"varint,2,opt,name=roomid,proto3" json:"roomid,omitempty" form:"roomid" validate:"required"` // 每页数量 PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" form:"page_size"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoomAdminGetByRoomReq) Descriptor ¶
func (*RoomAdminGetByRoomReq) Descriptor() ([]byte, []int)
func (*RoomAdminGetByRoomReq) GetPage ¶
func (m *RoomAdminGetByRoomReq) GetPage() int64
func (*RoomAdminGetByRoomReq) GetPageSize ¶
func (m *RoomAdminGetByRoomReq) GetPageSize() int64
func (*RoomAdminGetByRoomReq) GetRoomid ¶
func (m *RoomAdminGetByRoomReq) GetRoomid() int64
func (*RoomAdminGetByRoomReq) Marshal ¶
func (m *RoomAdminGetByRoomReq) Marshal() (dAtA []byte, err error)
func (*RoomAdminGetByRoomReq) MarshalTo ¶
func (m *RoomAdminGetByRoomReq) MarshalTo(dAtA []byte) (int, error)
func (*RoomAdminGetByRoomReq) ProtoMessage ¶
func (*RoomAdminGetByRoomReq) ProtoMessage()
func (*RoomAdminGetByRoomReq) Reset ¶
func (m *RoomAdminGetByRoomReq) Reset()
func (*RoomAdminGetByRoomReq) Size ¶
func (m *RoomAdminGetByRoomReq) Size() (n int)
func (*RoomAdminGetByRoomReq) String ¶
func (m *RoomAdminGetByRoomReq) String() string
func (*RoomAdminGetByRoomReq) Unmarshal ¶
func (m *RoomAdminGetByRoomReq) Unmarshal(dAtA []byte) error
func (*RoomAdminGetByRoomReq) XXX_DiscardUnknown ¶
func (m *RoomAdminGetByRoomReq) XXX_DiscardUnknown()
func (*RoomAdminGetByRoomReq) XXX_Marshal ¶
func (m *RoomAdminGetByRoomReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoomAdminGetByRoomReq) XXX_Merge ¶
func (dst *RoomAdminGetByRoomReq) XXX_Merge(src proto.Message)
func (*RoomAdminGetByRoomReq) XXX_Size ¶
func (m *RoomAdminGetByRoomReq) XXX_Size() int
func (*RoomAdminGetByRoomReq) XXX_Unmarshal ¶
func (m *RoomAdminGetByRoomReq) XXX_Unmarshal(b []byte) error
type RoomAdminGetByRoomResp ¶
type RoomAdminGetByRoomResp struct { // Page *RoomAdminGetByRoomResp_Page `protobuf:"bytes,1,opt,name=page" json:"page,omitempty"` // Data []*RoomAdminGetByRoomResp_Data `protobuf:"bytes,2,rep,name=data" json:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoomAdminGetByRoomResp) Descriptor ¶
func (*RoomAdminGetByRoomResp) Descriptor() ([]byte, []int)
func (*RoomAdminGetByRoomResp) GetData ¶
func (m *RoomAdminGetByRoomResp) GetData() []*RoomAdminGetByRoomResp_Data
func (*RoomAdminGetByRoomResp) GetPage ¶
func (m *RoomAdminGetByRoomResp) GetPage() *RoomAdminGetByRoomResp_Page
func (*RoomAdminGetByRoomResp) Marshal ¶
func (m *RoomAdminGetByRoomResp) Marshal() (dAtA []byte, err error)
func (*RoomAdminGetByRoomResp) MarshalTo ¶
func (m *RoomAdminGetByRoomResp) MarshalTo(dAtA []byte) (int, error)
func (*RoomAdminGetByRoomResp) ProtoMessage ¶
func (*RoomAdminGetByRoomResp) ProtoMessage()
func (*RoomAdminGetByRoomResp) Reset ¶
func (m *RoomAdminGetByRoomResp) Reset()
func (*RoomAdminGetByRoomResp) Size ¶
func (m *RoomAdminGetByRoomResp) Size() (n int)
func (*RoomAdminGetByRoomResp) String ¶
func (m *RoomAdminGetByRoomResp) String() string
func (*RoomAdminGetByRoomResp) Unmarshal ¶
func (m *RoomAdminGetByRoomResp) Unmarshal(dAtA []byte) error
func (*RoomAdminGetByRoomResp) XXX_DiscardUnknown ¶
func (m *RoomAdminGetByRoomResp) XXX_DiscardUnknown()
func (*RoomAdminGetByRoomResp) XXX_Marshal ¶
func (m *RoomAdminGetByRoomResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoomAdminGetByRoomResp) XXX_Merge ¶
func (dst *RoomAdminGetByRoomResp) XXX_Merge(src proto.Message)
func (*RoomAdminGetByRoomResp) XXX_Size ¶
func (m *RoomAdminGetByRoomResp) XXX_Size() int
func (*RoomAdminGetByRoomResp) XXX_Unmarshal ¶
func (m *RoomAdminGetByRoomResp) XXX_Unmarshal(b []byte) error
type RoomAdminGetByRoomResp_Data ¶
type RoomAdminGetByRoomResp_Data struct { // 用户id Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid"` // 用户名 Uname string `protobuf:"bytes,4,opt,name=uname,proto3" json:"uname"` // 用户头像 Face string `protobuf:"bytes,5,opt,name=face,proto3" json:"face"` // 上任时间 Ctime string `protobuf:"bytes,6,opt,name=ctime,proto3" json:"ctime"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoomAdminGetByRoomResp_Data) Descriptor ¶
func (*RoomAdminGetByRoomResp_Data) Descriptor() ([]byte, []int)
func (*RoomAdminGetByRoomResp_Data) GetCtime ¶
func (m *RoomAdminGetByRoomResp_Data) GetCtime() string
func (*RoomAdminGetByRoomResp_Data) GetFace ¶
func (m *RoomAdminGetByRoomResp_Data) GetFace() string
func (*RoomAdminGetByRoomResp_Data) GetUid ¶
func (m *RoomAdminGetByRoomResp_Data) GetUid() int64
func (*RoomAdminGetByRoomResp_Data) GetUname ¶
func (m *RoomAdminGetByRoomResp_Data) GetUname() string
func (*RoomAdminGetByRoomResp_Data) Marshal ¶
func (m *RoomAdminGetByRoomResp_Data) Marshal() (dAtA []byte, err error)
func (*RoomAdminGetByRoomResp_Data) MarshalTo ¶
func (m *RoomAdminGetByRoomResp_Data) MarshalTo(dAtA []byte) (int, error)
func (*RoomAdminGetByRoomResp_Data) ProtoMessage ¶
func (*RoomAdminGetByRoomResp_Data) ProtoMessage()
func (*RoomAdminGetByRoomResp_Data) Reset ¶
func (m *RoomAdminGetByRoomResp_Data) Reset()
func (*RoomAdminGetByRoomResp_Data) Size ¶
func (m *RoomAdminGetByRoomResp_Data) Size() (n int)
func (*RoomAdminGetByRoomResp_Data) String ¶
func (m *RoomAdminGetByRoomResp_Data) String() string
func (*RoomAdminGetByRoomResp_Data) Unmarshal ¶
func (m *RoomAdminGetByRoomResp_Data) Unmarshal(dAtA []byte) error
func (*RoomAdminGetByRoomResp_Data) XXX_DiscardUnknown ¶
func (m *RoomAdminGetByRoomResp_Data) XXX_DiscardUnknown()
func (*RoomAdminGetByRoomResp_Data) XXX_Marshal ¶
func (m *RoomAdminGetByRoomResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoomAdminGetByRoomResp_Data) XXX_Merge ¶
func (dst *RoomAdminGetByRoomResp_Data) XXX_Merge(src proto.Message)
func (*RoomAdminGetByRoomResp_Data) XXX_Size ¶
func (m *RoomAdminGetByRoomResp_Data) XXX_Size() int
func (*RoomAdminGetByRoomResp_Data) XXX_Unmarshal ¶
func (m *RoomAdminGetByRoomResp_Data) XXX_Unmarshal(b []byte) error
type RoomAdminGetByRoomResp_Page ¶
type RoomAdminGetByRoomResp_Page struct { // 当前页码 Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 每页大小 PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 总页数 TotalPage int64 `protobuf:"varint,3,opt,name=total_page,json=totalPage,proto3" json:"total_page,omitempty"` // 总记录数 TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoomAdminGetByRoomResp_Page) Descriptor ¶
func (*RoomAdminGetByRoomResp_Page) Descriptor() ([]byte, []int)
func (*RoomAdminGetByRoomResp_Page) GetPage ¶
func (m *RoomAdminGetByRoomResp_Page) GetPage() int64
func (*RoomAdminGetByRoomResp_Page) GetPageSize ¶
func (m *RoomAdminGetByRoomResp_Page) GetPageSize() int64
func (*RoomAdminGetByRoomResp_Page) GetTotalCount ¶
func (m *RoomAdminGetByRoomResp_Page) GetTotalCount() int64
func (*RoomAdminGetByRoomResp_Page) GetTotalPage ¶
func (m *RoomAdminGetByRoomResp_Page) GetTotalPage() int64
func (*RoomAdminGetByRoomResp_Page) Marshal ¶
func (m *RoomAdminGetByRoomResp_Page) Marshal() (dAtA []byte, err error)
func (*RoomAdminGetByRoomResp_Page) MarshalTo ¶
func (m *RoomAdminGetByRoomResp_Page) MarshalTo(dAtA []byte) (int, error)
func (*RoomAdminGetByRoomResp_Page) ProtoMessage ¶
func (*RoomAdminGetByRoomResp_Page) ProtoMessage()
func (*RoomAdminGetByRoomResp_Page) Reset ¶
func (m *RoomAdminGetByRoomResp_Page) Reset()
func (*RoomAdminGetByRoomResp_Page) Size ¶
func (m *RoomAdminGetByRoomResp_Page) Size() (n int)
func (*RoomAdminGetByRoomResp_Page) String ¶
func (m *RoomAdminGetByRoomResp_Page) String() string
func (*RoomAdminGetByRoomResp_Page) Unmarshal ¶
func (m *RoomAdminGetByRoomResp_Page) Unmarshal(dAtA []byte) error
func (*RoomAdminGetByRoomResp_Page) XXX_DiscardUnknown ¶
func (m *RoomAdminGetByRoomResp_Page) XXX_DiscardUnknown()
func (*RoomAdminGetByRoomResp_Page) XXX_Marshal ¶
func (m *RoomAdminGetByRoomResp_Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoomAdminGetByRoomResp_Page) XXX_Merge ¶
func (dst *RoomAdminGetByRoomResp_Page) XXX_Merge(src proto.Message)
func (*RoomAdminGetByRoomResp_Page) XXX_Size ¶
func (m *RoomAdminGetByRoomResp_Page) XXX_Size() int
func (*RoomAdminGetByRoomResp_Page) XXX_Unmarshal ¶
func (m *RoomAdminGetByRoomResp_Page) XXX_Unmarshal(b []byte) error
type SendDMReq ¶
type SendDMReq struct { Roomid int64 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty" form:"roomid" validate:"required"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty" form:"msg" validate:"required"` Rnd string `protobuf:"bytes,3,opt,name=rnd,proto3" json:"rnd,omitempty" form:"rnd" validate:"required"` Fontsize int64 `protobuf:"varint,4,opt,name=fontsize,proto3" json:"fontsize,omitempty" form:"fontsize" validate:"required"` Mode int64 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty" form:"mode" validate:"gte=0"` Color int64 `protobuf:"varint,6,opt,name=color,proto3" json:"color,omitempty" form:"color" validate:"required"` Bubble int64 `protobuf:"varint,7,opt,name=bubble,proto3" json:"bubble,omitempty" form:"bubble"` Anti string `protobuf:"bytes,9,opt,name=anti,proto3" json:"anti,omitempty" form:"_anti"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SendDMReq) Descriptor ¶
func (*SendDMReq) GetFontsize ¶
func (*SendDMReq) ProtoMessage ¶
func (*SendDMReq) ProtoMessage()
func (*SendDMReq) XXX_DiscardUnknown ¶
func (m *SendDMReq) XXX_DiscardUnknown()
func (*SendDMReq) XXX_Marshal ¶
func (*SendDMReq) XXX_Unmarshal ¶
type SendMsgResp ¶
type SendMsgResp struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SendMsgResp) Descriptor ¶
func (*SendMsgResp) Descriptor() ([]byte, []int)
func (*SendMsgResp) Marshal ¶
func (m *SendMsgResp) Marshal() (dAtA []byte, err error)
func (*SendMsgResp) ProtoMessage ¶
func (*SendMsgResp) ProtoMessage()
func (*SendMsgResp) Reset ¶
func (m *SendMsgResp) Reset()
func (*SendMsgResp) Size ¶
func (m *SendMsgResp) Size() (n int)
func (*SendMsgResp) String ¶
func (m *SendMsgResp) String() string
func (*SendMsgResp) Unmarshal ¶
func (m *SendMsgResp) Unmarshal(dAtA []byte) error
func (*SendMsgResp) XXX_DiscardUnknown ¶
func (m *SendMsgResp) XXX_DiscardUnknown()
func (*SendMsgResp) XXX_Marshal ¶
func (m *SendMsgResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendMsgResp) XXX_Merge ¶
func (dst *SendMsgResp) XXX_Merge(src proto.Message)
func (*SendMsgResp) XXX_Size ¶
func (m *SendMsgResp) XXX_Size() int
func (*SendMsgResp) XXX_Unmarshal ¶
func (m *SendMsgResp) XXX_Unmarshal(b []byte) error
type VerifyReq ¶
type VerifyReq struct { Anti string `protobuf:"bytes,1,opt,name=anti,proto3" json:"anti,omitempty" form:"anti"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VerifyReq) Descriptor ¶
func (*VerifyReq) ProtoMessage ¶
func (*VerifyReq) ProtoMessage()
func (*VerifyReq) XXX_DiscardUnknown ¶
func (m *VerifyReq) XXX_DiscardUnknown()
func (*VerifyReq) XXX_Marshal ¶
func (*VerifyReq) XXX_Unmarshal ¶
type VerifyResp ¶
type VerifyResp struct { Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VerifyResp) Descriptor ¶
func (*VerifyResp) Descriptor() ([]byte, []int)
func (*VerifyResp) GetToken ¶
func (m *VerifyResp) GetToken() string
func (*VerifyResp) GetType ¶
func (m *VerifyResp) GetType() int64
func (*VerifyResp) Marshal ¶
func (m *VerifyResp) Marshal() (dAtA []byte, err error)
func (*VerifyResp) ProtoMessage ¶
func (*VerifyResp) ProtoMessage()
func (*VerifyResp) Reset ¶
func (m *VerifyResp) Reset()
func (*VerifyResp) Size ¶
func (m *VerifyResp) Size() (n int)
func (*VerifyResp) String ¶
func (m *VerifyResp) String() string
func (*VerifyResp) Unmarshal ¶
func (m *VerifyResp) Unmarshal(dAtA []byte) error
func (*VerifyResp) XXX_DiscardUnknown ¶
func (m *VerifyResp) XXX_DiscardUnknown()
func (*VerifyResp) XXX_Marshal ¶
func (m *VerifyResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyResp) XXX_Merge ¶
func (dst *VerifyResp) XXX_Merge(src proto.Message)
func (*VerifyResp) XXX_Size ¶
func (m *VerifyResp) XXX_Size() int
func (*VerifyResp) XXX_Unmarshal ¶
func (m *VerifyResp) XXX_Unmarshal(b []byte) error