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

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

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCaptcha = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCaptcha   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthDm = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDm   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthRoomAdmin = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRoomAdmin   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterV1CaptchaService

func RegisterV1CaptchaService(e *bm.Engine, svc Captcha, midMap map[string]bm.HandlerFunc)

RegisterV1CaptchaService Register the blademaster route with middleware map midMap is the middleware map, the key is defined in proto

func RegisterV1DMService

func RegisterV1DMService(e *bm.Engine, svc DM, midMap map[string]bm.HandlerFunc)

RegisterV1DMService Register the blademaster route with middleware map midMap is the middleware map, the key is defined in proto

func RegisterV1RoomAdminService

func RegisterV1RoomAdminService(e *bm.Engine, svc RoomAdmin, midMap map[string]bm.HandlerFunc)

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) MarshalTo

func (m *CreateCaptchaReq) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*GeeTest) GetChallenge

func (m *GeeTest) GetChallenge() string

func (*GeeTest) GetGt

func (m *GeeTest) GetGt() string

func (*GeeTest) Marshal

func (m *GeeTest) Marshal() (dAtA []byte, err error)

func (*GeeTest) MarshalTo

func (m *GeeTest) MarshalTo(dAtA []byte) (int, error)

func (*GeeTest) ProtoMessage

func (*GeeTest) ProtoMessage()

func (*GeeTest) Reset

func (m *GeeTest) Reset()

func (*GeeTest) Size

func (m *GeeTest) Size() (n int)

func (*GeeTest) String

func (m *GeeTest) String() string

func (*GeeTest) Unmarshal

func (m *GeeTest) Unmarshal(dAtA []byte) error

func (*GeeTest) XXX_DiscardUnknown

func (m *GeeTest) XXX_DiscardUnknown()

func (*GeeTest) XXX_Marshal

func (m *GeeTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GeeTest) XXX_Merge

func (dst *GeeTest) XXX_Merge(src proto.Message)

func (*GeeTest) XXX_Size

func (m *GeeTest) XXX_Size() int

func (*GeeTest) XXX_Unmarshal

func (m *GeeTest) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *HistoryReq) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *HistoryResp) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Image) GetContent

func (m *Image) GetContent() string

func (*Image) GetTips

func (m *Image) GetTips() string

func (*Image) GetToken

func (m *Image) GetToken() string

func (*Image) Marshal

func (m *Image) Marshal() (dAtA []byte, err error)

func (*Image) MarshalTo

func (m *Image) MarshalTo(dAtA []byte) (int, error)

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) Reset

func (m *Image) Reset()

func (*Image) Size

func (m *Image) Size() (n int)

func (*Image) String

func (m *Image) String() string

func (*Image) Unmarshal

func (m *Image) Unmarshal(dAtA []byte) error

func (*Image) XXX_DiscardUnknown

func (m *Image) XXX_DiscardUnknown()

func (*Image) XXX_Marshal

func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Image) XXX_Merge

func (dst *Image) XXX_Merge(src proto.Message)

func (*Image) XXX_Size

func (m *Image) XXX_Size() int

func (*Image) XXX_Unmarshal

func (m *Image) XXX_Unmarshal(b []byte) error

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 (*RoomAdminGetByRoomResp) GetPage

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) Descriptor() ([]byte, []int)

func (*SendDMReq) GetAnti

func (m *SendDMReq) GetAnti() string

func (*SendDMReq) GetBubble

func (m *SendDMReq) GetBubble() int64

func (*SendDMReq) GetColor

func (m *SendDMReq) GetColor() int64

func (*SendDMReq) GetFontsize

func (m *SendDMReq) GetFontsize() int64

func (*SendDMReq) GetMode

func (m *SendDMReq) GetMode() int64

func (*SendDMReq) GetMsg

func (m *SendDMReq) GetMsg() string

func (*SendDMReq) GetRnd

func (m *SendDMReq) GetRnd() string

func (*SendDMReq) GetRoomid

func (m *SendDMReq) GetRoomid() int64

func (*SendDMReq) Marshal

func (m *SendDMReq) Marshal() (dAtA []byte, err error)

func (*SendDMReq) MarshalTo

func (m *SendDMReq) MarshalTo(dAtA []byte) (int, error)

func (*SendDMReq) ProtoMessage

func (*SendDMReq) ProtoMessage()

func (*SendDMReq) Reset

func (m *SendDMReq) Reset()

func (*SendDMReq) Size

func (m *SendDMReq) Size() (n int)

func (*SendDMReq) String

func (m *SendDMReq) String() string

func (*SendDMReq) Unmarshal

func (m *SendDMReq) Unmarshal(dAtA []byte) error

func (*SendDMReq) XXX_DiscardUnknown

func (m *SendDMReq) XXX_DiscardUnknown()

func (*SendDMReq) XXX_Marshal

func (m *SendDMReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendDMReq) XXX_Merge

func (dst *SendDMReq) XXX_Merge(src proto.Message)

func (*SendDMReq) XXX_Size

func (m *SendDMReq) XXX_Size() int

func (*SendDMReq) XXX_Unmarshal

func (m *SendDMReq) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *SendMsgResp) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*VerifyReq) GetAnti

func (m *VerifyReq) GetAnti() string

func (*VerifyReq) Marshal

func (m *VerifyReq) Marshal() (dAtA []byte, err error)

func (*VerifyReq) MarshalTo

func (m *VerifyReq) MarshalTo(dAtA []byte) (int, error)

func (*VerifyReq) ProtoMessage

func (*VerifyReq) ProtoMessage()

func (*VerifyReq) Reset

func (m *VerifyReq) Reset()

func (*VerifyReq) Size

func (m *VerifyReq) Size() (n int)

func (*VerifyReq) String

func (m *VerifyReq) String() string

func (*VerifyReq) Unmarshal

func (m *VerifyReq) Unmarshal(dAtA []byte) error

func (*VerifyReq) XXX_DiscardUnknown

func (m *VerifyReq) XXX_DiscardUnknown()

func (*VerifyReq) XXX_Marshal

func (m *VerifyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyReq) XXX_Merge

func (dst *VerifyReq) XXX_Merge(src proto.Message)

func (*VerifyReq) XXX_Size

func (m *VerifyReq) XXX_Size() int

func (*VerifyReq) XXX_Unmarshal

func (m *VerifyReq) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *VerifyResp) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

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