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: 12 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/grpc/v1/api.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/grpc/v1/exp.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:

guard.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/grpc/v1/vip.proto

Index

Constants

View Source
const AppID = "live.xuser"

AppID unique app id for service discovery

Variables

View Source
var (
	ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApi   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthExp = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowExp   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthGuard = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGuard   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthVip = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowVip   = fmt.Errorf("proto: integer overflow")
)
View Source
var PathGuardBuy = "/live.xuser.v1.Guard/Buy"
View Source
var PathGuardClearUIDCache = "/live.xuser.v1.Guard/ClearUIDCache"
View Source
var PathGuardGetAnchorRecentTopGuard = "/live.xuser.v1.Guard/GetAnchorRecentTopGuard"
View Source
var PathGuardGetByTargetIdsBatch = "/live.xuser.v1.Guard/GetByTargetIdsBatch"
View Source
var PathGuardGetByUIDBatch = "/live.xuser.v1.Guard/GetByUIDBatch"
View Source
var PathGuardGetByUIDForGift = "/live.xuser.v1.Guard/GetByUIDForGift"
View Source
var PathGuardGetByUIDTargetID = "/live.xuser.v1.Guard/GetByUIDTargetID"
View Source
var PathGuardGetByUIDTargetIds = "/live.xuser.v1.Guard/GetByUIDTargetIds"
View Source
var PathGuardGetTopListGuard = "/live.xuser.v1.Guard/GetTopListGuard"
View Source
var PathGuardGetTopListGuardNum = "/live.xuser.v1.Guard/GetTopListGuardNum"

Functions

func RegisterGuardBMServer

func RegisterGuardBMServer(e *bm.Engine, server GuardBMServer)

RegisterGuardBMServer Register the blademaster route

func RegisterGuardServer

func RegisterGuardServer(s *grpc.Server, srv GuardServer)

func RegisterRoomAdminServer

func RegisterRoomAdminServer(s *grpc.Server, srv RoomAdminServer)

func RegisterUserExpServer

func RegisterUserExpServer(s *grpc.Server, srv UserExpServer)

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

func RegisterV1UserExpService

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

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

func RegisterV1VipService

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

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

func RegisterVipServer

func RegisterVipServer(s *grpc.Server, srv VipServer)

Types

type AddUserExpReq

type AddUserExpReq struct {
	UserInfo             *UserExpChunk `protobuf:"bytes,1,opt,name=userInfo" json:"userInfo,omitempty" form:"userInfo" validate:"required"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*AddUserExpReq) Descriptor

func (*AddUserExpReq) Descriptor() ([]byte, []int)

func (*AddUserExpReq) GetUserInfo

func (m *AddUserExpReq) GetUserInfo() *UserExpChunk

func (*AddUserExpReq) Marshal

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

func (*AddUserExpReq) MarshalTo

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

func (*AddUserExpReq) ProtoMessage

func (*AddUserExpReq) ProtoMessage()

func (*AddUserExpReq) Reset

func (m *AddUserExpReq) Reset()

func (*AddUserExpReq) Size

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

func (*AddUserExpReq) String

func (m *AddUserExpReq) String() string

func (*AddUserExpReq) Unmarshal

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

func (*AddUserExpReq) XXX_DiscardUnknown

func (m *AddUserExpReq) XXX_DiscardUnknown()

func (*AddUserExpReq) XXX_Marshal

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

func (*AddUserExpReq) XXX_Merge

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

func (*AddUserExpReq) XXX_Size

func (m *AddUserExpReq) XXX_Size() int

func (*AddUserExpReq) XXX_Unmarshal

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

type AddUserExpResp

type AddUserExpResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddUserExpResp) Descriptor

func (*AddUserExpResp) Descriptor() ([]byte, []int)

func (*AddUserExpResp) Marshal

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

func (*AddUserExpResp) MarshalTo

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

func (*AddUserExpResp) ProtoMessage

func (*AddUserExpResp) ProtoMessage()

func (*AddUserExpResp) Reset

func (m *AddUserExpResp) Reset()

func (*AddUserExpResp) Size

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

func (*AddUserExpResp) String

func (m *AddUserExpResp) String() string

func (*AddUserExpResp) Unmarshal

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

func (*AddUserExpResp) XXX_DiscardUnknown

func (m *AddUserExpResp) XXX_DiscardUnknown()

func (*AddUserExpResp) XXX_Marshal

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

func (*AddUserExpResp) XXX_Merge

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

func (*AddUserExpResp) XXX_Size

func (m *AddUserExpResp) XXX_Size() int

func (*AddUserExpResp) XXX_Unmarshal

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

type AllDaHangHaiInfo

type AllDaHangHaiInfo struct {
	GuardInfo            map[int64]*DaHangHaiInfo `` /* 166-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*AllDaHangHaiInfo) Descriptor

func (*AllDaHangHaiInfo) Descriptor() ([]byte, []int)

func (*AllDaHangHaiInfo) GetGuardInfo

func (m *AllDaHangHaiInfo) GetGuardInfo() map[int64]*DaHangHaiInfo

func (*AllDaHangHaiInfo) Marshal

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

func (*AllDaHangHaiInfo) MarshalTo

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

func (*AllDaHangHaiInfo) ProtoMessage

func (*AllDaHangHaiInfo) ProtoMessage()

func (*AllDaHangHaiInfo) Reset

func (m *AllDaHangHaiInfo) Reset()

func (*AllDaHangHaiInfo) Size

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

func (*AllDaHangHaiInfo) String

func (m *AllDaHangHaiInfo) String() string

func (*AllDaHangHaiInfo) Unmarshal

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

func (*AllDaHangHaiInfo) XXX_DiscardUnknown

func (m *AllDaHangHaiInfo) XXX_DiscardUnknown()

func (*AllDaHangHaiInfo) XXX_Marshal

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

func (*AllDaHangHaiInfo) XXX_Merge

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

func (*AllDaHangHaiInfo) XXX_Size

func (m *AllDaHangHaiInfo) XXX_Size() int

func (*AllDaHangHaiInfo) XXX_Unmarshal

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

type AnchorLevelInfo

type AnchorLevelInfo struct {
	// 当前用户等级
	Level int64 `protobuf:"varint,1,opt,name=level,proto3" json:"level"`
	// 下一等级
	NextLevel int64 `protobuf:"varint,2,opt,name=nextLevel,proto3" json:"nextLevel"`
	// 当前等级对应的经验
	UserExpLeft int64 `protobuf:"varint,3,opt,name=userExpLeft,proto3" json:"userExpLeft"`
	// 下一等级对应的经验
	UserExpRight int64 `protobuf:"varint,4,opt,name=userExpRight,proto3" json:"userExpRight"`
	// 用户当前经验
	UserExp int64 `protobuf:"varint,5,opt,name=userExp,proto3" json:"userExp"`
	// 升级到下一等级对应的经验
	UserExpNextLevel int64 `protobuf:"varint,6,opt,name=userExpNextLevel,proto3" json:"userExpNextLevel"`
	// 当前等级颜色
	Color int64 `protobuf:"varint,7,opt,name=color,proto3" json:"color"`
	// 下一等级左侧对应的经验
	UserExpNextLeft int64 `protobuf:"varint,8,opt,name=userExpNextLeft,proto3" json:"userExpNextLeft"`
	// 下一等级右侧对应的经验
	UserExpNextRight int64 `protobuf:"varint,9,opt,name=userExpNextRight,proto3" json:"userExpNextRight"`
	// 主播积分,userExp/100
	AnchorScore          int64    `protobuf:"varint,10,opt,name=anchorScore,proto3" json:"anchorScore"`
	IsLevelTop           int64    `protobuf:"varint,11,opt,name=isLevelTop,proto3" json:"isLevelTop"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AnchorLevelInfo) Descriptor

func (*AnchorLevelInfo) Descriptor() ([]byte, []int)

func (*AnchorLevelInfo) GetAnchorScore

func (m *AnchorLevelInfo) GetAnchorScore() int64

func (*AnchorLevelInfo) GetColor

func (m *AnchorLevelInfo) GetColor() int64

func (*AnchorLevelInfo) GetIsLevelTop

func (m *AnchorLevelInfo) GetIsLevelTop() int64

func (*AnchorLevelInfo) GetLevel

func (m *AnchorLevelInfo) GetLevel() int64

func (*AnchorLevelInfo) GetNextLevel

func (m *AnchorLevelInfo) GetNextLevel() int64

func (*AnchorLevelInfo) GetUserExp

func (m *AnchorLevelInfo) GetUserExp() int64

func (*AnchorLevelInfo) GetUserExpLeft

func (m *AnchorLevelInfo) GetUserExpLeft() int64

func (*AnchorLevelInfo) GetUserExpNextLeft

func (m *AnchorLevelInfo) GetUserExpNextLeft() int64

func (*AnchorLevelInfo) GetUserExpNextLevel

func (m *AnchorLevelInfo) GetUserExpNextLevel() int64

func (*AnchorLevelInfo) GetUserExpNextRight

func (m *AnchorLevelInfo) GetUserExpNextRight() int64

func (*AnchorLevelInfo) GetUserExpRight

func (m *AnchorLevelInfo) GetUserExpRight() int64

func (*AnchorLevelInfo) Marshal

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

func (*AnchorLevelInfo) MarshalTo

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

func (*AnchorLevelInfo) ProtoMessage

func (*AnchorLevelInfo) ProtoMessage()

func (*AnchorLevelInfo) Reset

func (m *AnchorLevelInfo) Reset()

func (*AnchorLevelInfo) Size

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

func (*AnchorLevelInfo) String

func (m *AnchorLevelInfo) String() string

func (*AnchorLevelInfo) Unmarshal

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

func (*AnchorLevelInfo) XXX_DiscardUnknown

func (m *AnchorLevelInfo) XXX_DiscardUnknown()

func (*AnchorLevelInfo) XXX_Marshal

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

func (*AnchorLevelInfo) XXX_Merge

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

func (*AnchorLevelInfo) XXX_Size

func (m *AnchorLevelInfo) XXX_Size() int

func (*AnchorLevelInfo) XXX_Unmarshal

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

type BuyReply

type BuyReply struct {
	Status               int      `protobuf:"varint,1,opt,name=status,proto3,casttype=int" json:"status"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BuyReply) Descriptor

func (*BuyReply) Descriptor() ([]byte, []int)

func (*BuyReply) GetStatus

func (m *BuyReply) GetStatus() int

func (*BuyReply) Marshal

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

func (*BuyReply) MarshalTo

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

func (*BuyReply) ProtoMessage

func (*BuyReply) ProtoMessage()

func (*BuyReply) Reset

func (m *BuyReply) Reset()

func (*BuyReply) Size

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

func (*BuyReply) String

func (m *BuyReply) String() string

func (*BuyReply) Unmarshal

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

func (*BuyReply) XXX_DiscardUnknown

func (m *BuyReply) XXX_DiscardUnknown()

func (*BuyReply) XXX_Marshal

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

func (*BuyReply) XXX_Merge

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

func (*BuyReply) XXX_Size

func (m *BuyReply) XXX_Size() int

func (*BuyReply) XXX_Unmarshal

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

type BuyReq

type BuyReq struct {
	OrderId              string         `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty" validate:"required"`
	Uid                  int64          `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty" validate:"gt=0,required"`
	GoodId               int            `protobuf:"varint,3,opt,name=good_id,json=goodId,proto3,casttype=int" json:"good_id,omitempty" validate:"gt=0,required"`
	GoodNum              int            `protobuf:"varint,4,opt,name=good_num,json=goodNum,proto3,casttype=int" json:"good_num,omitempty" validate:"gt=0,required"`
	Platform             grpc1.Platform `protobuf:"varint,5,opt,name=platform,proto3,enum=live.xuser.Platform" json:"platform,omitempty" validate:"required"`
	Source               string         `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty" validate:"required"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*BuyReq) Descriptor

func (*BuyReq) Descriptor() ([]byte, []int)

func (*BuyReq) GetGoodId

func (m *BuyReq) GetGoodId() int

func (*BuyReq) GetGoodNum

func (m *BuyReq) GetGoodNum() int

func (*BuyReq) GetOrderId

func (m *BuyReq) GetOrderId() string

func (*BuyReq) GetPlatform

func (m *BuyReq) GetPlatform() grpc1.Platform

func (*BuyReq) GetSource

func (m *BuyReq) GetSource() string

func (*BuyReq) GetUid

func (m *BuyReq) GetUid() int64

func (*BuyReq) Marshal

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

func (*BuyReq) MarshalTo

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

func (*BuyReq) ProtoMessage

func (*BuyReq) ProtoMessage()

func (*BuyReq) Reset

func (m *BuyReq) Reset()

func (*BuyReq) Size

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

func (*BuyReq) String

func (m *BuyReq) String() string

func (*BuyReq) Unmarshal

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

func (*BuyReq) XXX_DiscardUnknown

func (m *BuyReq) XXX_DiscardUnknown()

func (*BuyReq) XXX_Marshal

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

func (*BuyReq) XXX_Merge

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

func (*BuyReq) XXX_Size

func (m *BuyReq) XXX_Size() int

func (*BuyReq) XXX_Unmarshal

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

type ClearUIDCacheReq

type ClearUIDCacheReq struct {
	Uid                  int64    `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"gt=0,required"`
	MagicKey             string   `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetByUidTargetIdReq 1:1请求

func (*ClearUIDCacheReq) Descriptor

func (*ClearUIDCacheReq) Descriptor() ([]byte, []int)

func (*ClearUIDCacheReq) GetMagicKey

func (m *ClearUIDCacheReq) GetMagicKey() string

func (*ClearUIDCacheReq) GetUid

func (m *ClearUIDCacheReq) GetUid() int64

func (*ClearUIDCacheReq) Marshal

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

func (*ClearUIDCacheReq) MarshalTo

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

func (*ClearUIDCacheReq) ProtoMessage

func (*ClearUIDCacheReq) ProtoMessage()

func (*ClearUIDCacheReq) Reset

func (m *ClearUIDCacheReq) Reset()

func (*ClearUIDCacheReq) Size

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

func (*ClearUIDCacheReq) String

func (m *ClearUIDCacheReq) String() string

func (*ClearUIDCacheReq) Unmarshal

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

func (*ClearUIDCacheReq) XXX_DiscardUnknown

func (m *ClearUIDCacheReq) XXX_DiscardUnknown()

func (*ClearUIDCacheReq) XXX_Marshal

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

func (*ClearUIDCacheReq) XXX_Merge

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

func (*ClearUIDCacheReq) XXX_Size

func (m *ClearUIDCacheReq) XXX_Size() int

func (*ClearUIDCacheReq) XXX_Unmarshal

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

type ClearUIDCacheResp

type ClearUIDCacheResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClearUIDCacheResp) Descriptor

func (*ClearUIDCacheResp) Descriptor() ([]byte, []int)

func (*ClearUIDCacheResp) Marshal

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

func (*ClearUIDCacheResp) MarshalTo

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

func (*ClearUIDCacheResp) ProtoMessage

func (*ClearUIDCacheResp) ProtoMessage()

func (*ClearUIDCacheResp) Reset

func (m *ClearUIDCacheResp) Reset()

func (*ClearUIDCacheResp) Size

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

func (*ClearUIDCacheResp) String

func (m *ClearUIDCacheResp) String() string

func (*ClearUIDCacheResp) Unmarshal

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

func (*ClearUIDCacheResp) XXX_DiscardUnknown

func (m *ClearUIDCacheResp) XXX_DiscardUnknown()

func (*ClearUIDCacheResp) XXX_Marshal

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

func (*ClearUIDCacheResp) XXX_Merge

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

func (*ClearUIDCacheResp) XXX_Size

func (m *ClearUIDCacheResp) XXX_Size() int

func (*ClearUIDCacheResp) XXX_Unmarshal

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

type Client

type Client struct {
	UserExpClient
	VipClient
	GuardClient
}

Client client

func NewClient

func NewClient(cfg *warden.ClientConfig, opts ...grpc.DialOption) (*Client, error)

NewClient new resource gRPC client

type DaHangHaiInfo

type DaHangHaiInfo struct {
	// 主键
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	// uid
	Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
	// target_id
	TargetId int64 `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id"`
	// 守护类型 1为总督,2为提督,3为舰长
	PrivilegeType int64 `protobuf:"varint,4,opt,name=privilege_type,json=privilegeType,proto3" json:"privilege_type"`
	// start_time
	StartTime string `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time"`
	// expired_time
	ExpiredTime string `protobuf:"bytes,6,opt,name=expired_time,json=expiredTime,proto3" json:"expired_time"`
	// ctime
	Ctime string `protobuf:"bytes,7,opt,name=ctime,proto3" json:"ctime"`
	// utime
	Utime                string   `protobuf:"bytes,8,opt,name=utime,proto3" json:"utime"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DaHangHaiInfo) Descriptor

func (*DaHangHaiInfo) Descriptor() ([]byte, []int)

func (*DaHangHaiInfo) GetCtime

func (m *DaHangHaiInfo) GetCtime() string

func (*DaHangHaiInfo) GetExpiredTime

func (m *DaHangHaiInfo) GetExpiredTime() string

func (*DaHangHaiInfo) GetId

func (m *DaHangHaiInfo) GetId() int64

func (*DaHangHaiInfo) GetPrivilegeType

func (m *DaHangHaiInfo) GetPrivilegeType() int64

func (*DaHangHaiInfo) GetStartTime

func (m *DaHangHaiInfo) GetStartTime() string

func (*DaHangHaiInfo) GetTargetId

func (m *DaHangHaiInfo) GetTargetId() int64

func (*DaHangHaiInfo) GetUid

func (m *DaHangHaiInfo) GetUid() int64

func (*DaHangHaiInfo) GetUtime

func (m *DaHangHaiInfo) GetUtime() string

func (*DaHangHaiInfo) Marshal

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

func (*DaHangHaiInfo) MarshalTo

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

func (*DaHangHaiInfo) ProtoMessage

func (*DaHangHaiInfo) ProtoMessage()

func (*DaHangHaiInfo) Reset

func (m *DaHangHaiInfo) Reset()

func (*DaHangHaiInfo) Size

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

func (*DaHangHaiInfo) String

func (m *DaHangHaiInfo) String() string

func (*DaHangHaiInfo) Unmarshal

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

func (*DaHangHaiInfo) XXX_DiscardUnknown

func (m *DaHangHaiInfo) XXX_DiscardUnknown()

func (*DaHangHaiInfo) XXX_Marshal

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

func (*DaHangHaiInfo) XXX_Merge

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

func (*DaHangHaiInfo) XXX_Size

func (m *DaHangHaiInfo) XXX_Size() int

func (*DaHangHaiInfo) XXX_Unmarshal

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

type DaHangHaiInfoList

type DaHangHaiInfoList struct {
	List                 []*DaHangHaiInfo `protobuf:"bytes,1,rep,name=list" json:"list"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*DaHangHaiInfoList) Descriptor

func (*DaHangHaiInfoList) Descriptor() ([]byte, []int)

func (*DaHangHaiInfoList) GetList

func (m *DaHangHaiInfoList) GetList() []*DaHangHaiInfo

func (*DaHangHaiInfoList) Marshal

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

func (*DaHangHaiInfoList) MarshalTo

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

func (*DaHangHaiInfoList) ProtoMessage

func (*DaHangHaiInfoList) ProtoMessage()

func (*DaHangHaiInfoList) Reset

func (m *DaHangHaiInfoList) Reset()

func (*DaHangHaiInfoList) Size

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

func (*DaHangHaiInfoList) String

func (m *DaHangHaiInfoList) String() string

func (*DaHangHaiInfoList) Unmarshal

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

func (*DaHangHaiInfoList) XXX_DiscardUnknown

func (m *DaHangHaiInfoList) XXX_DiscardUnknown()

func (*DaHangHaiInfoList) XXX_Marshal

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

func (*DaHangHaiInfoList) XXX_Merge

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

func (*DaHangHaiInfoList) XXX_Size

func (m *DaHangHaiInfoList) XXX_Size() int

func (*DaHangHaiInfoList) XXX_Unmarshal

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

type FilterDaHangHaiInfo

type FilterDaHangHaiInfo struct {
	GuardInfo            map[int64]*DaHangHaiInfo `` /* 166-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*FilterDaHangHaiInfo) Descriptor

func (*FilterDaHangHaiInfo) Descriptor() ([]byte, []int)

func (*FilterDaHangHaiInfo) GetGuardInfo

func (m *FilterDaHangHaiInfo) GetGuardInfo() map[int64]*DaHangHaiInfo

func (*FilterDaHangHaiInfo) Marshal

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

func (*FilterDaHangHaiInfo) MarshalTo

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

func (*FilterDaHangHaiInfo) ProtoMessage

func (*FilterDaHangHaiInfo) ProtoMessage()

func (*FilterDaHangHaiInfo) Reset

func (m *FilterDaHangHaiInfo) Reset()

func (*FilterDaHangHaiInfo) Size

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

func (*FilterDaHangHaiInfo) String

func (m *FilterDaHangHaiInfo) String() string

func (*FilterDaHangHaiInfo) Unmarshal

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

func (*FilterDaHangHaiInfo) XXX_DiscardUnknown

func (m *FilterDaHangHaiInfo) XXX_DiscardUnknown()

func (*FilterDaHangHaiInfo) XXX_Marshal

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

func (*FilterDaHangHaiInfo) XXX_Merge

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

func (*FilterDaHangHaiInfo) XXX_Size

func (m *FilterDaHangHaiInfo) XXX_Size() int

func (*FilterDaHangHaiInfo) XXX_Unmarshal

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

type GetAnchorRecentTopGuardList

type GetAnchorRecentTopGuardList struct {
	Uid                  int64    `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
	EndTime              int64    `protobuf:"varint,2,opt,name=end_time,json=endTime,proto3" json:"end_time"`
	IsOpen               int64    `protobuf:"varint,3,opt,name=is_open,json=isOpen,proto3" json:"is_open"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAnchorRecentTopGuardList) Descriptor

func (*GetAnchorRecentTopGuardList) Descriptor() ([]byte, []int)

func (*GetAnchorRecentTopGuardList) GetEndTime

func (m *GetAnchorRecentTopGuardList) GetEndTime() int64

func (*GetAnchorRecentTopGuardList) GetIsOpen

func (m *GetAnchorRecentTopGuardList) GetIsOpen() int64

func (*GetAnchorRecentTopGuardList) GetUid

func (m *GetAnchorRecentTopGuardList) GetUid() int64

func (*GetAnchorRecentTopGuardList) Marshal

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

func (*GetAnchorRecentTopGuardList) MarshalTo

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

func (*GetAnchorRecentTopGuardList) ProtoMessage

func (*GetAnchorRecentTopGuardList) ProtoMessage()

func (*GetAnchorRecentTopGuardList) Reset

func (m *GetAnchorRecentTopGuardList) Reset()

func (*GetAnchorRecentTopGuardList) Size

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

func (*GetAnchorRecentTopGuardList) String

func (m *GetAnchorRecentTopGuardList) String() string

func (*GetAnchorRecentTopGuardList) Unmarshal

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

func (*GetAnchorRecentTopGuardList) XXX_DiscardUnknown

func (m *GetAnchorRecentTopGuardList) XXX_DiscardUnknown()

func (*GetAnchorRecentTopGuardList) XXX_Marshal

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

func (*GetAnchorRecentTopGuardList) XXX_Merge

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

func (*GetAnchorRecentTopGuardList) XXX_Size

func (m *GetAnchorRecentTopGuardList) XXX_Size() int

func (*GetAnchorRecentTopGuardList) XXX_Unmarshal

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

type GetAnchorRecentTopGuardReq

type GetAnchorRecentTopGuardReq struct {
	Uid                  int64    `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"gt=0,required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAnchorRecentTopGuardReq) Descriptor

func (*GetAnchorRecentTopGuardReq) Descriptor() ([]byte, []int)

func (*GetAnchorRecentTopGuardReq) GetUid

func (m *GetAnchorRecentTopGuardReq) GetUid() int64

func (*GetAnchorRecentTopGuardReq) Marshal

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

func (*GetAnchorRecentTopGuardReq) MarshalTo

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

func (*GetAnchorRecentTopGuardReq) ProtoMessage

func (*GetAnchorRecentTopGuardReq) ProtoMessage()

func (*GetAnchorRecentTopGuardReq) Reset

func (m *GetAnchorRecentTopGuardReq) Reset()

func (*GetAnchorRecentTopGuardReq) Size

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

func (*GetAnchorRecentTopGuardReq) String

func (m *GetAnchorRecentTopGuardReq) String() string

func (*GetAnchorRecentTopGuardReq) Unmarshal

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

func (*GetAnchorRecentTopGuardReq) XXX_DiscardUnknown

func (m *GetAnchorRecentTopGuardReq) XXX_DiscardUnknown()

func (*GetAnchorRecentTopGuardReq) XXX_Marshal

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

func (*GetAnchorRecentTopGuardReq) XXX_Merge

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

func (*GetAnchorRecentTopGuardReq) XXX_Size

func (m *GetAnchorRecentTopGuardReq) XXX_Size() int

func (*GetAnchorRecentTopGuardReq) XXX_Unmarshal

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

type GetAnchorRecentTopGuardResp

type GetAnchorRecentTopGuardResp struct {
	// 主键
	Cnt                  int64                          `protobuf:"varint,1,opt,name=cnt,proto3" json:"cnt"`
	List                 []*GetAnchorRecentTopGuardList `protobuf:"bytes,2,rep,name=list" json:"list"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*GetAnchorRecentTopGuardResp) Descriptor

func (*GetAnchorRecentTopGuardResp) Descriptor() ([]byte, []int)

func (*GetAnchorRecentTopGuardResp) GetCnt

func (m *GetAnchorRecentTopGuardResp) GetCnt() int64

func (*GetAnchorRecentTopGuardResp) GetList

func (*GetAnchorRecentTopGuardResp) Marshal

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

func (*GetAnchorRecentTopGuardResp) MarshalTo

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

func (*GetAnchorRecentTopGuardResp) ProtoMessage

func (*GetAnchorRecentTopGuardResp) ProtoMessage()

func (*GetAnchorRecentTopGuardResp) Reset

func (m *GetAnchorRecentTopGuardResp) Reset()

func (*GetAnchorRecentTopGuardResp) Size

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

func (*GetAnchorRecentTopGuardResp) String

func (m *GetAnchorRecentTopGuardResp) String() string

func (*GetAnchorRecentTopGuardResp) Unmarshal

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

func (*GetAnchorRecentTopGuardResp) XXX_DiscardUnknown

func (m *GetAnchorRecentTopGuardResp) XXX_DiscardUnknown()

func (*GetAnchorRecentTopGuardResp) XXX_Marshal

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

func (*GetAnchorRecentTopGuardResp) XXX_Merge

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

func (*GetAnchorRecentTopGuardResp) XXX_Size

func (m *GetAnchorRecentTopGuardResp) XXX_Size() int

func (*GetAnchorRecentTopGuardResp) XXX_Unmarshal

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

type GetByTargetIdsReq

type GetByTargetIdsReq struct {
	TargetIDs            []*TargetIds `protobuf:"bytes,1,rep,name=targetIDs" json:"targetIDs,omitempty" form:"targetIDs" validate:"required"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

GetByTargetIdsBatchReq 根据uids批量获取所有守护关系

func (*GetByTargetIdsReq) Descriptor

func (*GetByTargetIdsReq) Descriptor() ([]byte, []int)

func (*GetByTargetIdsReq) GetTargetIDs

func (m *GetByTargetIdsReq) GetTargetIDs() []*TargetIds

func (*GetByTargetIdsReq) Marshal

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

func (*GetByTargetIdsReq) MarshalTo

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

func (*GetByTargetIdsReq) ProtoMessage

func (*GetByTargetIdsReq) ProtoMessage()

func (*GetByTargetIdsReq) Reset

func (m *GetByTargetIdsReq) Reset()

func (*GetByTargetIdsReq) Size

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

func (*GetByTargetIdsReq) String

func (m *GetByTargetIdsReq) String() string

func (*GetByTargetIdsReq) Unmarshal

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

func (*GetByTargetIdsReq) XXX_DiscardUnknown

func (m *GetByTargetIdsReq) XXX_DiscardUnknown()

func (*GetByTargetIdsReq) XXX_Marshal

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

func (*GetByTargetIdsReq) XXX_Merge

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

func (*GetByTargetIdsReq) XXX_Size

func (m *GetByTargetIdsReq) XXX_Size() int

func (*GetByTargetIdsReq) XXX_Unmarshal

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

type GetByTargetIdsResp

type GetByTargetIdsResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

TODO 实现

func (*GetByTargetIdsResp) Descriptor

func (*GetByTargetIdsResp) Descriptor() ([]byte, []int)

func (*GetByTargetIdsResp) Marshal

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

func (*GetByTargetIdsResp) MarshalTo

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

func (*GetByTargetIdsResp) ProtoMessage

func (*GetByTargetIdsResp) ProtoMessage()

func (*GetByTargetIdsResp) Reset

func (m *GetByTargetIdsResp) Reset()

func (*GetByTargetIdsResp) Size

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

func (*GetByTargetIdsResp) String

func (m *GetByTargetIdsResp) String() string

func (*GetByTargetIdsResp) Unmarshal

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

func (*GetByTargetIdsResp) XXX_DiscardUnknown

func (m *GetByTargetIdsResp) XXX_DiscardUnknown()

func (*GetByTargetIdsResp) XXX_Marshal

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

func (*GetByTargetIdsResp) XXX_Merge

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

func (*GetByTargetIdsResp) XXX_Size

func (m *GetByTargetIdsResp) XXX_Size() int

func (*GetByTargetIdsResp) XXX_Unmarshal

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

type GetByUidBatchReq

type GetByUidBatchReq struct {
	Uids                 []int64  `protobuf:"varint,1,rep,packed,name=uids" json:"uids,omitempty" form:"uids" validate:"required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetAllShouHuBatchReq 目标全部守护数据(批量)

func (*GetByUidBatchReq) Descriptor

func (*GetByUidBatchReq) Descriptor() ([]byte, []int)

func (*GetByUidBatchReq) GetUids

func (m *GetByUidBatchReq) GetUids() []int64

func (*GetByUidBatchReq) Marshal

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

func (*GetByUidBatchReq) MarshalTo

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

func (*GetByUidBatchReq) ProtoMessage

func (*GetByUidBatchReq) ProtoMessage()

func (*GetByUidBatchReq) Reset

func (m *GetByUidBatchReq) Reset()

func (*GetByUidBatchReq) Size

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

func (*GetByUidBatchReq) String

func (m *GetByUidBatchReq) String() string

func (*GetByUidBatchReq) Unmarshal

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

func (*GetByUidBatchReq) XXX_DiscardUnknown

func (m *GetByUidBatchReq) XXX_DiscardUnknown()

func (*GetByUidBatchReq) XXX_Marshal

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

func (*GetByUidBatchReq) XXX_Merge

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

func (*GetByUidBatchReq) XXX_Size

func (m *GetByUidBatchReq) XXX_Size() int

func (*GetByUidBatchReq) XXX_Unmarshal

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

type GetByUidBatchResp

type GetByUidBatchResp struct {
	Data                 map[int64]*DaHangHaiInfoList `` /* 126-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*GetByUidBatchResp) Descriptor

func (*GetByUidBatchResp) Descriptor() ([]byte, []int)

func (*GetByUidBatchResp) GetData

func (m *GetByUidBatchResp) GetData() map[int64]*DaHangHaiInfoList

func (*GetByUidBatchResp) Marshal

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

func (*GetByUidBatchResp) MarshalTo

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

func (*GetByUidBatchResp) ProtoMessage

func (*GetByUidBatchResp) ProtoMessage()

func (*GetByUidBatchResp) Reset

func (m *GetByUidBatchResp) Reset()

func (*GetByUidBatchResp) Size

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

func (*GetByUidBatchResp) String

func (m *GetByUidBatchResp) String() string

func (*GetByUidBatchResp) Unmarshal

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

func (*GetByUidBatchResp) XXX_DiscardUnknown

func (m *GetByUidBatchResp) XXX_DiscardUnknown()

func (*GetByUidBatchResp) XXX_Marshal

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

func (*GetByUidBatchResp) XXX_Merge

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

func (*GetByUidBatchResp) XXX_Size

func (m *GetByUidBatchResp) XXX_Size() int

func (*GetByUidBatchResp) XXX_Unmarshal

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

type GetByUidReq

type GetByUidReq struct {
	Uid                  int64    `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"gt=0,required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetAllShouHuReq 目标全部守护数据

func (*GetByUidReq) Descriptor

func (*GetByUidReq) Descriptor() ([]byte, []int)

func (*GetByUidReq) GetUid

func (m *GetByUidReq) GetUid() int64

func (*GetByUidReq) Marshal

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

func (*GetByUidReq) MarshalTo

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

func (*GetByUidReq) ProtoMessage

func (*GetByUidReq) ProtoMessage()

func (*GetByUidReq) Reset

func (m *GetByUidReq) Reset()

func (*GetByUidReq) Size

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

func (*GetByUidReq) String

func (m *GetByUidReq) String() string

func (*GetByUidReq) Unmarshal

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

func (*GetByUidReq) XXX_DiscardUnknown

func (m *GetByUidReq) XXX_DiscardUnknown()

func (*GetByUidReq) XXX_Marshal

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

func (*GetByUidReq) XXX_Merge

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

func (*GetByUidReq) XXX_Size

func (m *GetByUidReq) XXX_Size() int

func (*GetByUidReq) XXX_Unmarshal

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

type GetByUidResp

type GetByUidResp struct {
	Data                 map[int64]*DaHangHaiInfo `` /* 126-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*GetByUidResp) Descriptor

func (*GetByUidResp) Descriptor() ([]byte, []int)

func (*GetByUidResp) GetData

func (m *GetByUidResp) GetData() map[int64]*DaHangHaiInfo

func (*GetByUidResp) Marshal

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

func (*GetByUidResp) MarshalTo

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

func (*GetByUidResp) ProtoMessage

func (*GetByUidResp) ProtoMessage()

func (*GetByUidResp) Reset

func (m *GetByUidResp) Reset()

func (*GetByUidResp) Size

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

func (*GetByUidResp) String

func (m *GetByUidResp) String() string

func (*GetByUidResp) Unmarshal

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

func (*GetByUidResp) XXX_DiscardUnknown

func (m *GetByUidResp) XXX_DiscardUnknown()

func (*GetByUidResp) XXX_Marshal

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

func (*GetByUidResp) XXX_Merge

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

func (*GetByUidResp) XXX_Size

func (m *GetByUidResp) XXX_Size() int

func (*GetByUidResp) XXX_Unmarshal

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

type GetByUidTargetIdReq

type GetByUidTargetIdReq struct {
	Uid                  int64    `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"gt=0,required"`
	TargetId             int64    `protobuf:"varint,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty" form:"target_id" validate:"required"`
	SortType             int64    `protobuf:"varint,3,opt,name=sort_type,json=sortType,proto3" json:"sort_type,omitempty" form:"sort_type" validate:"gte=0"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetByUidTargetIdReq 1:1请求

func (*GetByUidTargetIdReq) Descriptor

func (*GetByUidTargetIdReq) Descriptor() ([]byte, []int)

func (*GetByUidTargetIdReq) GetSortType

func (m *GetByUidTargetIdReq) GetSortType() int64

func (*GetByUidTargetIdReq) GetTargetId

func (m *GetByUidTargetIdReq) GetTargetId() int64

func (*GetByUidTargetIdReq) GetUid

func (m *GetByUidTargetIdReq) GetUid() int64

func (*GetByUidTargetIdReq) Marshal

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

func (*GetByUidTargetIdReq) MarshalTo

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

func (*GetByUidTargetIdReq) ProtoMessage

func (*GetByUidTargetIdReq) ProtoMessage()

func (*GetByUidTargetIdReq) Reset

func (m *GetByUidTargetIdReq) Reset()

func (*GetByUidTargetIdReq) Size

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

func (*GetByUidTargetIdReq) String

func (m *GetByUidTargetIdReq) String() string

func (*GetByUidTargetIdReq) Unmarshal

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

func (*GetByUidTargetIdReq) XXX_DiscardUnknown

func (m *GetByUidTargetIdReq) XXX_DiscardUnknown()

func (*GetByUidTargetIdReq) XXX_Marshal

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

func (*GetByUidTargetIdReq) XXX_Merge

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

func (*GetByUidTargetIdReq) XXX_Size

func (m *GetByUidTargetIdReq) XXX_Size() int

func (*GetByUidTargetIdReq) XXX_Unmarshal

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

type GetByUidTargetIdResp

type GetByUidTargetIdResp struct {
	Data                 map[int64]*DaHangHaiInfo `` /* 126-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*GetByUidTargetIdResp) Descriptor

func (*GetByUidTargetIdResp) Descriptor() ([]byte, []int)

func (*GetByUidTargetIdResp) GetData

func (m *GetByUidTargetIdResp) GetData() map[int64]*DaHangHaiInfo

func (*GetByUidTargetIdResp) Marshal

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

func (*GetByUidTargetIdResp) MarshalTo

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

func (*GetByUidTargetIdResp) ProtoMessage

func (*GetByUidTargetIdResp) ProtoMessage()

func (*GetByUidTargetIdResp) Reset

func (m *GetByUidTargetIdResp) Reset()

func (*GetByUidTargetIdResp) Size

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

func (*GetByUidTargetIdResp) String

func (m *GetByUidTargetIdResp) String() string

func (*GetByUidTargetIdResp) Unmarshal

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

func (*GetByUidTargetIdResp) XXX_DiscardUnknown

func (m *GetByUidTargetIdResp) XXX_DiscardUnknown()

func (*GetByUidTargetIdResp) XXX_Marshal

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

func (*GetByUidTargetIdResp) XXX_Merge

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

func (*GetByUidTargetIdResp) XXX_Size

func (m *GetByUidTargetIdResp) XXX_Size() int

func (*GetByUidTargetIdResp) XXX_Unmarshal

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

type GetByUidTargetIdsReq

type GetByUidTargetIdsReq struct {
	Uid                  int64        `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"gt=0,required"`
	TargetIDs            []*TargetIds `protobuf:"bytes,2,rep,name=targetIDs" json:"targetIDs,omitempty" form:"targetIDs" validate:"required"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*GetByUidTargetIdsReq) Descriptor

func (*GetByUidTargetIdsReq) Descriptor() ([]byte, []int)

func (*GetByUidTargetIdsReq) GetTargetIDs

func (m *GetByUidTargetIdsReq) GetTargetIDs() []*TargetIds

func (*GetByUidTargetIdsReq) GetUid

func (m *GetByUidTargetIdsReq) GetUid() int64

func (*GetByUidTargetIdsReq) Marshal

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

func (*GetByUidTargetIdsReq) MarshalTo

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

func (*GetByUidTargetIdsReq) ProtoMessage

func (*GetByUidTargetIdsReq) ProtoMessage()

func (*GetByUidTargetIdsReq) Reset

func (m *GetByUidTargetIdsReq) Reset()

func (*GetByUidTargetIdsReq) Size

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

func (*GetByUidTargetIdsReq) String

func (m *GetByUidTargetIdsReq) String() string

func (*GetByUidTargetIdsReq) Unmarshal

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

func (*GetByUidTargetIdsReq) XXX_DiscardUnknown

func (m *GetByUidTargetIdsReq) XXX_DiscardUnknown()

func (*GetByUidTargetIdsReq) XXX_Marshal

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

func (*GetByUidTargetIdsReq) XXX_Merge

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

func (*GetByUidTargetIdsReq) XXX_Size

func (m *GetByUidTargetIdsReq) XXX_Size() int

func (*GetByUidTargetIdsReq) XXX_Unmarshal

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

type GetByUidTargetIdsResp

type GetByUidTargetIdsResp struct {
	Data                 map[int64]*DaHangHaiInfo `` /* 126-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*GetByUidTargetIdsResp) Descriptor

func (*GetByUidTargetIdsResp) Descriptor() ([]byte, []int)

func (*GetByUidTargetIdsResp) GetData

func (m *GetByUidTargetIdsResp) GetData() map[int64]*DaHangHaiInfo

func (*GetByUidTargetIdsResp) Marshal

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

func (*GetByUidTargetIdsResp) MarshalTo

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

func (*GetByUidTargetIdsResp) ProtoMessage

func (*GetByUidTargetIdsResp) ProtoMessage()

func (*GetByUidTargetIdsResp) Reset

func (m *GetByUidTargetIdsResp) Reset()

func (*GetByUidTargetIdsResp) Size

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

func (*GetByUidTargetIdsResp) String

func (m *GetByUidTargetIdsResp) String() string

func (*GetByUidTargetIdsResp) Unmarshal

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

func (*GetByUidTargetIdsResp) XXX_DiscardUnknown

func (m *GetByUidTargetIdsResp) XXX_DiscardUnknown()

func (*GetByUidTargetIdsResp) XXX_Marshal

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

func (*GetByUidTargetIdsResp) XXX_Merge

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

func (*GetByUidTargetIdsResp) XXX_Size

func (m *GetByUidTargetIdsResp) XXX_Size() int

func (*GetByUidTargetIdsResp) XXX_Unmarshal

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

type GetTopListGuardNumReq

type GetTopListGuardNumReq struct {
	Uid                  int64    `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"gt=0,required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetTopListGuardNumReq) Descriptor

func (*GetTopListGuardNumReq) Descriptor() ([]byte, []int)

func (*GetTopListGuardNumReq) GetUid

func (m *GetTopListGuardNumReq) GetUid() int64

func (*GetTopListGuardNumReq) Marshal

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

func (*GetTopListGuardNumReq) MarshalTo

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

func (*GetTopListGuardNumReq) ProtoMessage

func (*GetTopListGuardNumReq) ProtoMessage()

func (*GetTopListGuardNumReq) Reset

func (m *GetTopListGuardNumReq) Reset()

func (*GetTopListGuardNumReq) Size

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

func (*GetTopListGuardNumReq) String

func (m *GetTopListGuardNumReq) String() string

func (*GetTopListGuardNumReq) Unmarshal

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

func (*GetTopListGuardNumReq) XXX_DiscardUnknown

func (m *GetTopListGuardNumReq) XXX_DiscardUnknown()

func (*GetTopListGuardNumReq) XXX_Marshal

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

func (*GetTopListGuardNumReq) XXX_Merge

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

func (*GetTopListGuardNumReq) XXX_Size

func (m *GetTopListGuardNumReq) XXX_Size() int

func (*GetTopListGuardNumReq) XXX_Unmarshal

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

type GetTopListGuardNumResp

type GetTopListGuardNumResp struct {
	TotalCount           int64    `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetTopListGuardNumResp) Descriptor

func (*GetTopListGuardNumResp) Descriptor() ([]byte, []int)

func (*GetTopListGuardNumResp) GetTotalCount

func (m *GetTopListGuardNumResp) GetTotalCount() int64

func (*GetTopListGuardNumResp) Marshal

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

func (*GetTopListGuardNumResp) MarshalTo

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

func (*GetTopListGuardNumResp) ProtoMessage

func (*GetTopListGuardNumResp) ProtoMessage()

func (*GetTopListGuardNumResp) Reset

func (m *GetTopListGuardNumResp) Reset()

func (*GetTopListGuardNumResp) Size

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

func (*GetTopListGuardNumResp) String

func (m *GetTopListGuardNumResp) String() string

func (*GetTopListGuardNumResp) Unmarshal

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

func (*GetTopListGuardNumResp) XXX_DiscardUnknown

func (m *GetTopListGuardNumResp) XXX_DiscardUnknown()

func (*GetTopListGuardNumResp) XXX_Marshal

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

func (*GetTopListGuardNumResp) XXX_Merge

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

func (*GetTopListGuardNumResp) XXX_Size

func (m *GetTopListGuardNumResp) XXX_Size() int

func (*GetTopListGuardNumResp) XXX_Unmarshal

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

type GetTopListGuardReq

type GetTopListGuardReq struct {
	Uid                  int64    `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"gt=0,required"`
	Page                 int64    `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty" form:"page" validate:"gte=1"`
	PageSize             int64    `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" form:"page_size" validate:"gte=1"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetTopListGuardReq) Descriptor

func (*GetTopListGuardReq) Descriptor() ([]byte, []int)

func (*GetTopListGuardReq) GetPage

func (m *GetTopListGuardReq) GetPage() int64

func (*GetTopListGuardReq) GetPageSize

func (m *GetTopListGuardReq) GetPageSize() int64

func (*GetTopListGuardReq) GetUid

func (m *GetTopListGuardReq) GetUid() int64

func (*GetTopListGuardReq) Marshal

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

func (*GetTopListGuardReq) MarshalTo

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

func (*GetTopListGuardReq) ProtoMessage

func (*GetTopListGuardReq) ProtoMessage()

func (*GetTopListGuardReq) Reset

func (m *GetTopListGuardReq) Reset()

func (*GetTopListGuardReq) Size

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

func (*GetTopListGuardReq) String

func (m *GetTopListGuardReq) String() string

func (*GetTopListGuardReq) Unmarshal

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

func (*GetTopListGuardReq) XXX_DiscardUnknown

func (m *GetTopListGuardReq) XXX_DiscardUnknown()

func (*GetTopListGuardReq) XXX_Marshal

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

func (*GetTopListGuardReq) XXX_Merge

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

func (*GetTopListGuardReq) XXX_Size

func (m *GetTopListGuardReq) XXX_Size() int

func (*GetTopListGuardReq) XXX_Unmarshal

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

type GetTopListGuardResp

type GetTopListGuardResp struct {
	// 守护总数量
	Num                  int64           `protobuf:"varint,1,opt,name=num,proto3" json:"num"`
	Page                 int64           `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
	Now                  int64           `protobuf:"varint,3,opt,name=now,proto3" json:"now"`
	List                 []*TopListGuard `protobuf:"bytes,4,rep,name=list" json:"list"`
	Top3                 []*TopListGuard `protobuf:"bytes,5,rep,name=top3" json:"top3"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetTopListGuardResp) Descriptor

func (*GetTopListGuardResp) Descriptor() ([]byte, []int)

func (*GetTopListGuardResp) GetList

func (m *GetTopListGuardResp) GetList() []*TopListGuard

func (*GetTopListGuardResp) GetNow

func (m *GetTopListGuardResp) GetNow() int64

func (*GetTopListGuardResp) GetNum

func (m *GetTopListGuardResp) GetNum() int64

func (*GetTopListGuardResp) GetPage

func (m *GetTopListGuardResp) GetPage() int64

func (*GetTopListGuardResp) GetTop3

func (m *GetTopListGuardResp) GetTop3() []*TopListGuard

func (*GetTopListGuardResp) Marshal

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

func (*GetTopListGuardResp) MarshalTo

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

func (*GetTopListGuardResp) ProtoMessage

func (*GetTopListGuardResp) ProtoMessage()

func (*GetTopListGuardResp) Reset

func (m *GetTopListGuardResp) Reset()

func (*GetTopListGuardResp) Size

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

func (*GetTopListGuardResp) String

func (m *GetTopListGuardResp) String() string

func (*GetTopListGuardResp) Unmarshal

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

func (*GetTopListGuardResp) XXX_DiscardUnknown

func (m *GetTopListGuardResp) XXX_DiscardUnknown()

func (*GetTopListGuardResp) XXX_Marshal

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

func (*GetTopListGuardResp) XXX_Merge

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

func (*GetTopListGuardResp) XXX_Size

func (m *GetTopListGuardResp) XXX_Size() int

func (*GetTopListGuardResp) XXX_Unmarshal

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

type GetUserExpReq

type GetUserExpReq struct {
	Uids                 []int64  `protobuf:"varint,1,rep,packed,name=uids" json:"uids,omitempty" form:"uids" validate:"gt=0,required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetUserExpReq 请求

func (*GetUserExpReq) Descriptor

func (*GetUserExpReq) Descriptor() ([]byte, []int)

func (*GetUserExpReq) GetUids

func (m *GetUserExpReq) GetUids() []int64

func (*GetUserExpReq) Marshal

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

func (*GetUserExpReq) MarshalTo

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

func (*GetUserExpReq) ProtoMessage

func (*GetUserExpReq) ProtoMessage()

func (*GetUserExpReq) Reset

func (m *GetUserExpReq) Reset()

func (*GetUserExpReq) Size

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

func (*GetUserExpReq) String

func (m *GetUserExpReq) String() string

func (*GetUserExpReq) Unmarshal

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

func (*GetUserExpReq) XXX_DiscardUnknown

func (m *GetUserExpReq) XXX_DiscardUnknown()

func (*GetUserExpReq) XXX_Marshal

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

func (*GetUserExpReq) XXX_Merge

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

func (*GetUserExpReq) XXX_Size

func (m *GetUserExpReq) XXX_Size() int

func (*GetUserExpReq) XXX_Unmarshal

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

type GetUserExpResp

type GetUserExpResp struct {
	Data                 map[int64]*LevelInfo `` /* 126-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

GetUserExpResp 响应

func (*GetUserExpResp) Descriptor

func (*GetUserExpResp) Descriptor() ([]byte, []int)

func (*GetUserExpResp) GetData

func (m *GetUserExpResp) GetData() map[int64]*LevelInfo

func (*GetUserExpResp) Marshal

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

func (*GetUserExpResp) MarshalTo

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

func (*GetUserExpResp) ProtoMessage

func (*GetUserExpResp) ProtoMessage()

func (*GetUserExpResp) Reset

func (m *GetUserExpResp) Reset()

func (*GetUserExpResp) Size

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

func (*GetUserExpResp) String

func (m *GetUserExpResp) String() string

func (*GetUserExpResp) Unmarshal

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

func (*GetUserExpResp) XXX_DiscardUnknown

func (m *GetUserExpResp) XXX_DiscardUnknown()

func (*GetUserExpResp) XXX_Marshal

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

func (*GetUserExpResp) XXX_Merge

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

func (*GetUserExpResp) XXX_Size

func (m *GetUserExpResp) XXX_Size() int

func (*GetUserExpResp) XXX_Unmarshal

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

type GuardBMServer

type GuardBMServer interface {
	// Buy 购买大航海
	Buy(ctx context.Context, req *GuardBuyReq) (resp *GuardBuyReply, err error)

	// GetByUIDTargetID 获取我与目标用户守护关系,不支持批量(P0级)
	GetByUIDTargetID(ctx context.Context, req *GetByUidTargetIdReq) (resp *GetByUidTargetIdResp, err error)

	// GetByTargetIdsBatch 获取我与目标用户守护关系,支持批量(P2级,必要时刻降级)
	GetByTargetIdsBatch(ctx context.Context, req *GetByTargetIdsReq) (resp *GetByTargetIdsResp, err error)

	// GetByUIDTargetIds 根据uids批量获取所有守护关系,粉丝勋章使用
	GetByUIDTargetIds(ctx context.Context, req *GetByUidTargetIdsReq) (resp *GetByUidTargetIdsResp, err error)

	// GetByUID 获取我所有的守护,不支持批量(P0级)
	GetByUIDForGift(ctx context.Context, req *GetByUidReq) (resp *GetByUidResp, err error)

	// GetByUIDBatch 根据uids获取所有的守护,支持批量(P2级)
	GetByUIDBatch(ctx context.Context, req *GetByUidBatchReq) (resp *GetByUidBatchResp, err error)

	// GetAnchorRecentTopGuard 获取最近的提督弹窗提醒
	GetAnchorRecentTopGuard(ctx context.Context, req *GetAnchorRecentTopGuardReq) (resp *GetAnchorRecentTopGuardResp, err error)

	// GetTopListGuard 获取某个up主的守护排行榜
	GetTopListGuard(ctx context.Context, req *GetTopListGuardReq) (resp *GetTopListGuardResp, err error)

	// GetTopListGuardNum 获取某个up主所有的守护数量,和GetTopListGuard接口的区别是此接口用于房间页首屏,逻辑比较简单,因此拆分开来
	GetTopListGuardNum(ctx context.Context, req *GetTopListGuardNumReq) (resp *GetTopListGuardNumResp, err error)

	// ClearUIDCache 清除cache
	ClearUIDCache(ctx context.Context, req *ClearUIDCacheReq) (resp *ClearUIDCacheResp, err error)
}

type GuardBuyReply

type GuardBuyReply struct {
	Status               int      `protobuf:"varint,1,opt,name=status,proto3,casttype=int" json:"status"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GuardBuyReply) Descriptor

func (*GuardBuyReply) Descriptor() ([]byte, []int)

func (*GuardBuyReply) GetStatus

func (m *GuardBuyReply) GetStatus() int

func (*GuardBuyReply) Marshal

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

func (*GuardBuyReply) MarshalTo

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

func (*GuardBuyReply) ProtoMessage

func (*GuardBuyReply) ProtoMessage()

func (*GuardBuyReply) Reset

func (m *GuardBuyReply) Reset()

func (*GuardBuyReply) Size

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

func (*GuardBuyReply) String

func (m *GuardBuyReply) String() string

func (*GuardBuyReply) Unmarshal

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

func (*GuardBuyReply) XXX_DiscardUnknown

func (m *GuardBuyReply) XXX_DiscardUnknown()

func (*GuardBuyReply) XXX_Marshal

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

func (*GuardBuyReply) XXX_Merge

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

func (*GuardBuyReply) XXX_Size

func (m *GuardBuyReply) XXX_Size() int

func (*GuardBuyReply) XXX_Unmarshal

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

type GuardBuyReq

type GuardBuyReq struct {
	OrderId              string         `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty" validate:"required"`
	Uid                  int64          `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty" validate:"gt=0,required"`
	Ruid                 int64          `protobuf:"varint,3,opt,name=ruid,proto3" json:"ruid,omitempty" validate:"gt=0,required"`
	GuardLevel           int            `` /* 130-byte string literal not displayed */
	Num                  int            `protobuf:"varint,5,opt,name=num,proto3,casttype=int" json:"num,omitempty" validate:"gt=0,required"`
	Platform             grpc1.Platform `protobuf:"varint,6,opt,name=platform,proto3,enum=live.xuser.Platform" json:"platform,omitempty" validate:"required"`
	Source               string         `protobuf:"bytes,7,opt,name=source,proto3" json:"source,omitempty" validate:"required"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GuardBuyReq) Descriptor

func (*GuardBuyReq) Descriptor() ([]byte, []int)

func (*GuardBuyReq) GetGuardLevel

func (m *GuardBuyReq) GetGuardLevel() int

func (*GuardBuyReq) GetNum

func (m *GuardBuyReq) GetNum() int

func (*GuardBuyReq) GetOrderId

func (m *GuardBuyReq) GetOrderId() string

func (*GuardBuyReq) GetPlatform

func (m *GuardBuyReq) GetPlatform() grpc1.Platform

func (*GuardBuyReq) GetRuid

func (m *GuardBuyReq) GetRuid() int64

func (*GuardBuyReq) GetSource

func (m *GuardBuyReq) GetSource() string

func (*GuardBuyReq) GetUid

func (m *GuardBuyReq) GetUid() int64

func (*GuardBuyReq) Marshal

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

func (*GuardBuyReq) MarshalTo

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

func (*GuardBuyReq) ProtoMessage

func (*GuardBuyReq) ProtoMessage()

func (*GuardBuyReq) Reset

func (m *GuardBuyReq) Reset()

func (*GuardBuyReq) Size

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

func (*GuardBuyReq) String

func (m *GuardBuyReq) String() string

func (*GuardBuyReq) Unmarshal

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

func (*GuardBuyReq) XXX_DiscardUnknown

func (m *GuardBuyReq) XXX_DiscardUnknown()

func (*GuardBuyReq) XXX_Marshal

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

func (*GuardBuyReq) XXX_Merge

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

func (*GuardBuyReq) XXX_Size

func (m *GuardBuyReq) XXX_Size() int

func (*GuardBuyReq) XXX_Unmarshal

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

type GuardClient

type GuardClient interface {
	// Buy 购买大航海
	Buy(ctx context.Context, in *GuardBuyReq, opts ...grpc.CallOption) (*GuardBuyReply, error)
	// GetByUIDTargetID 获取我与目标用户守护关系,不支持批量(P0级)
	GetByUIDTargetID(ctx context.Context, in *GetByUidTargetIdReq, opts ...grpc.CallOption) (*GetByUidTargetIdResp, error)
	// GetByTargetIdsBatch 获取我与目标用户守护关系,支持批量(P2级,必要时刻降级)
	GetByTargetIdsBatch(ctx context.Context, in *GetByTargetIdsReq, opts ...grpc.CallOption) (*GetByTargetIdsResp, error)
	// GetByUIDTargetIds 根据uids批量获取所有守护关系,粉丝勋章使用
	GetByUIDTargetIds(ctx context.Context, in *GetByUidTargetIdsReq, opts ...grpc.CallOption) (*GetByUidTargetIdsResp, error)
	// GetByUID 获取我所有的守护,不支持批量(P0级)
	GetByUIDForGift(ctx context.Context, in *GetByUidReq, opts ...grpc.CallOption) (*GetByUidResp, error)
	// GetByUIDBatch 根据uids获取所有的守护,支持批量(P2级)
	GetByUIDBatch(ctx context.Context, in *GetByUidBatchReq, opts ...grpc.CallOption) (*GetByUidBatchResp, error)
	// GetAnchorRecentTopGuard 获取最近的提督弹窗提醒
	GetAnchorRecentTopGuard(ctx context.Context, in *GetAnchorRecentTopGuardReq, opts ...grpc.CallOption) (*GetAnchorRecentTopGuardResp, error)
	// GetTopListGuard 获取某个up主的守护排行榜
	GetTopListGuard(ctx context.Context, in *GetTopListGuardReq, opts ...grpc.CallOption) (*GetTopListGuardResp, error)
	// GetTopListGuardNum 获取某个up主所有的守护数量,和GetTopListGuard接口的区别是此接口用于房间页首屏,逻辑比较简单,因此拆分开来
	GetTopListGuardNum(ctx context.Context, in *GetTopListGuardNumReq, opts ...grpc.CallOption) (*GetTopListGuardNumResp, error)
	// ClearUIDCache 清除cache
	ClearUIDCache(ctx context.Context, in *ClearUIDCacheReq, opts ...grpc.CallOption) (*ClearUIDCacheResp, error)
}

GuardClient is the client API for Guard service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewGuardClient

func NewGuardClient(cc *grpc.ClientConn) GuardClient

type GuardServer

type GuardServer interface {
	// Buy 购买大航海
	Buy(context.Context, *GuardBuyReq) (*GuardBuyReply, error)
	// GetByUIDTargetID 获取我与目标用户守护关系,不支持批量(P0级)
	GetByUIDTargetID(context.Context, *GetByUidTargetIdReq) (*GetByUidTargetIdResp, error)
	// GetByTargetIdsBatch 获取我与目标用户守护关系,支持批量(P2级,必要时刻降级)
	GetByTargetIdsBatch(context.Context, *GetByTargetIdsReq) (*GetByTargetIdsResp, error)
	// GetByUIDTargetIds 根据uids批量获取所有守护关系,粉丝勋章使用
	GetByUIDTargetIds(context.Context, *GetByUidTargetIdsReq) (*GetByUidTargetIdsResp, error)
	// GetByUID 获取我所有的守护,不支持批量(P0级)
	GetByUIDForGift(context.Context, *GetByUidReq) (*GetByUidResp, error)
	// GetByUIDBatch 根据uids获取所有的守护,支持批量(P2级)
	GetByUIDBatch(context.Context, *GetByUidBatchReq) (*GetByUidBatchResp, error)
	// GetAnchorRecentTopGuard 获取最近的提督弹窗提醒
	GetAnchorRecentTopGuard(context.Context, *GetAnchorRecentTopGuardReq) (*GetAnchorRecentTopGuardResp, error)
	// GetTopListGuard 获取某个up主的守护排行榜
	GetTopListGuard(context.Context, *GetTopListGuardReq) (*GetTopListGuardResp, error)
	// GetTopListGuardNum 获取某个up主所有的守护数量,和GetTopListGuard接口的区别是此接口用于房间页首屏,逻辑比较简单,因此拆分开来
	GetTopListGuardNum(context.Context, *GetTopListGuardNumReq) (*GetTopListGuardNumResp, error)
	// ClearUIDCache 清除cache
	ClearUIDCache(context.Context, *ClearUIDCacheReq) (*ClearUIDCacheResp, error)
}

GuardServer is the server API for Guard service.

type Info

type Info struct {
	Vip                  int      `protobuf:"varint,1,opt,name=vip,proto3,casttype=int" json:"vip"`
	Svip                 int      `protobuf:"varint,2,opt,name=svip,proto3,casttype=int" json:"svip"`
	VipTime              string   `protobuf:"bytes,3,opt,name=vip_time,json=vipTime,proto3" json:"vip_time"`
	SvipTime             string   `protobuf:"bytes,4,opt,name=svip_time,json=svipTime,proto3" json:"svip_time"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Info) Descriptor

func (*Info) Descriptor() ([]byte, []int)

func (*Info) GetSvip

func (m *Info) GetSvip() int

func (*Info) GetSvipTime

func (m *Info) GetSvipTime() string

func (*Info) GetVip

func (m *Info) GetVip() int

func (*Info) GetVipTime

func (m *Info) GetVipTime() string

func (*Info) Marshal

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

func (*Info) MarshalTo

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

func (*Info) ProtoMessage

func (*Info) ProtoMessage()

func (*Info) Reset

func (m *Info) Reset()

func (*Info) Size

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

func (*Info) String

func (m *Info) String() string

func (*Info) Unmarshal

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

func (*Info) XXX_DiscardUnknown

func (m *Info) XXX_DiscardUnknown()

func (*Info) XXX_Marshal

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

func (*Info) XXX_Merge

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

func (*Info) XXX_Size

func (m *Info) XXX_Size() int

func (*Info) XXX_Unmarshal

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

type InfoReply

type InfoReply struct {
	Info                 *Info    `protobuf:"bytes,1,opt,name=info" json:"info,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InfoReply) Descriptor

func (*InfoReply) Descriptor() ([]byte, []int)

func (*InfoReply) GetInfo

func (m *InfoReply) GetInfo() *Info

func (*InfoReply) Marshal

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

func (*InfoReply) MarshalTo

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

func (*InfoReply) ProtoMessage

func (*InfoReply) ProtoMessage()

func (*InfoReply) Reset

func (m *InfoReply) Reset()

func (*InfoReply) Size

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

func (*InfoReply) String

func (m *InfoReply) String() string

func (*InfoReply) Unmarshal

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

func (*InfoReply) XXX_DiscardUnknown

func (m *InfoReply) XXX_DiscardUnknown()

func (*InfoReply) XXX_Marshal

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

func (*InfoReply) XXX_Merge

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

func (*InfoReply) XXX_Size

func (m *InfoReply) XXX_Size() int

func (*InfoReply) XXX_Unmarshal

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

type LevelInfo

type LevelInfo struct {
	Uid                  int64            `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
	UserLevel            *UserLevelInfo   `protobuf:"bytes,2,opt,name=userLevel" json:"userLevel"`
	AnchorLevel          *AnchorLevelInfo `protobuf:"bytes,3,opt,name=anchorLevel" json:"anchorLevel"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*LevelInfo) Descriptor

func (*LevelInfo) Descriptor() ([]byte, []int)

func (*LevelInfo) GetAnchorLevel

func (m *LevelInfo) GetAnchorLevel() *AnchorLevelInfo

func (*LevelInfo) GetUid

func (m *LevelInfo) GetUid() int64

func (*LevelInfo) GetUserLevel

func (m *LevelInfo) GetUserLevel() *UserLevelInfo

func (*LevelInfo) Marshal

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

func (*LevelInfo) MarshalTo

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

func (*LevelInfo) ProtoMessage

func (*LevelInfo) ProtoMessage()

func (*LevelInfo) Reset

func (m *LevelInfo) Reset()

func (*LevelInfo) Size

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

func (*LevelInfo) String

func (m *LevelInfo) String() string

func (*LevelInfo) Unmarshal

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

func (*LevelInfo) XXX_DiscardUnknown

func (m *LevelInfo) XXX_DiscardUnknown()

func (*LevelInfo) XXX_Marshal

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

func (*LevelInfo) XXX_Merge

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

func (*LevelInfo) XXX_Size

func (m *LevelInfo) XXX_Size() int

func (*LevelInfo) XXX_Unmarshal

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

type RoomAdmin

type RoomAdmin interface {
	// 根据登录态获取功能入口是否显示, 需要登录态
	IsAny(ctx context.Context, req *RoomAdminShowEntryReq) (resp *RoomAdminShowEntryResp, err error)

	// 获取用户拥有的的所有房管身份
	GetByUid(ctx context.Context, req *RoomAdminGetByUidReq) (resp *RoomAdminGetByUidResp, err error)

	// 辞职房管
	Resign(ctx context.Context, req *RoomAdminResignRoomAdminReq) (resp *RoomAdminResignRoomAdminResp, err error)

	// 查询需要添加的房管
	SearchForAdmin(ctx context.Context, req *RoomAdminSearchForAdminReq) (resp *RoomAdminSearchForAdminResp, err error)

	// 获取主播拥有的的所有房管
	GetByAnchor(ctx context.Context, req *RoomAdminGetByAnchorReq) (resp *RoomAdminGetByAnchorResp, err error)

	// 获取主播拥有的的所有房管,房间号维度
	GetByRoom(ctx context.Context, req *RoomAdminGetByRoomReq) (resp *RoomAdminGetByRoomResp, err error)

	// 撤销房管
	Dismiss(ctx context.Context, req *RoomAdminDismissAdminReq) (resp *RoomAdminDismissAdminResp, err error)

	// 任命房管
	Appoint(ctx context.Context, req *RoomAdminAddReq) (resp *RoomAdminAddResp, err error)

	// 是否房管
	IsAdmin(ctx context.Context, req *RoomAdminIsAdminReq) (resp *RoomAdminIsAdminResp, err error)

	// 是否房管, 不额外返回用户信息, 不判断是否主播自己
	IsAdminShort(ctx context.Context, req *RoomAdminIsAdminShortReq) (resp *RoomAdminIsAdminShortResp, err error)
}

History 相关服务

type RoomAdminAddReq

type RoomAdminAddReq struct {
	// 房管的uid
	Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"required"`
	// 主播uid
	AnchorId             int64    `protobuf:"varint,2,opt,name=anchor_id,json=anchorId,proto3" json:"anchor_id,omitempty" form:"anchor_id" validate:"required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminAddReq) Descriptor

func (*RoomAdminAddReq) Descriptor() ([]byte, []int)

func (*RoomAdminAddReq) GetAnchorId

func (m *RoomAdminAddReq) GetAnchorId() int64

func (*RoomAdminAddReq) GetUid

func (m *RoomAdminAddReq) GetUid() int64

func (*RoomAdminAddReq) Marshal

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

func (*RoomAdminAddReq) MarshalTo

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

func (*RoomAdminAddReq) ProtoMessage

func (*RoomAdminAddReq) ProtoMessage()

func (*RoomAdminAddReq) Reset

func (m *RoomAdminAddReq) Reset()

func (*RoomAdminAddReq) Size

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

func (*RoomAdminAddReq) String

func (m *RoomAdminAddReq) String() string

func (*RoomAdminAddReq) Unmarshal

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

func (*RoomAdminAddReq) XXX_DiscardUnknown

func (m *RoomAdminAddReq) XXX_DiscardUnknown()

func (*RoomAdminAddReq) XXX_Marshal

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

func (*RoomAdminAddReq) XXX_Merge

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

func (*RoomAdminAddReq) XXX_Size

func (m *RoomAdminAddReq) XXX_Size() int

func (*RoomAdminAddReq) XXX_Unmarshal

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

type RoomAdminAddResp

type RoomAdminAddResp struct {
	// banner
	Userinfo *RoomAdminAddResp_UI `protobuf:"bytes,1,opt,name=userinfo" json:"userinfo"`
	// 房管的用户id
	Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
	// 房间号
	Roomid               int64    `protobuf:"varint,3,opt,name=roomid,proto3" json:"roomid"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminAddResp) Descriptor

func (*RoomAdminAddResp) Descriptor() ([]byte, []int)

func (*RoomAdminAddResp) GetRoomid

func (m *RoomAdminAddResp) GetRoomid() int64

func (*RoomAdminAddResp) GetUid

func (m *RoomAdminAddResp) GetUid() int64

func (*RoomAdminAddResp) GetUserinfo

func (m *RoomAdminAddResp) GetUserinfo() *RoomAdminAddResp_UI

func (*RoomAdminAddResp) Marshal

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

func (*RoomAdminAddResp) MarshalTo

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

func (*RoomAdminAddResp) ProtoMessage

func (*RoomAdminAddResp) ProtoMessage()

func (*RoomAdminAddResp) Reset

func (m *RoomAdminAddResp) Reset()

func (*RoomAdminAddResp) Size

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

func (*RoomAdminAddResp) String

func (m *RoomAdminAddResp) String() string

func (*RoomAdminAddResp) Unmarshal

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

func (*RoomAdminAddResp) XXX_DiscardUnknown

func (m *RoomAdminAddResp) XXX_DiscardUnknown()

func (*RoomAdminAddResp) XXX_Marshal

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

func (*RoomAdminAddResp) XXX_Merge

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

func (*RoomAdminAddResp) XXX_Size

func (m *RoomAdminAddResp) XXX_Size() int

func (*RoomAdminAddResp) XXX_Unmarshal

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

type RoomAdminAddResp_UI

type RoomAdminAddResp_UI struct {
	// 用户id
	Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
	// 用户名
	Uname                string   `protobuf:"bytes,2,opt,name=uname,proto3" json:"uname"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminAddResp_UI) Descriptor

func (*RoomAdminAddResp_UI) Descriptor() ([]byte, []int)

func (*RoomAdminAddResp_UI) GetUid

func (m *RoomAdminAddResp_UI) GetUid() int64

func (*RoomAdminAddResp_UI) GetUname

func (m *RoomAdminAddResp_UI) GetUname() string

func (*RoomAdminAddResp_UI) Marshal

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

func (*RoomAdminAddResp_UI) MarshalTo

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

func (*RoomAdminAddResp_UI) ProtoMessage

func (*RoomAdminAddResp_UI) ProtoMessage()

func (*RoomAdminAddResp_UI) Reset

func (m *RoomAdminAddResp_UI) Reset()

func (*RoomAdminAddResp_UI) Size

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

func (*RoomAdminAddResp_UI) String

func (m *RoomAdminAddResp_UI) String() string

func (*RoomAdminAddResp_UI) Unmarshal

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

func (*RoomAdminAddResp_UI) XXX_DiscardUnknown

func (m *RoomAdminAddResp_UI) XXX_DiscardUnknown()

func (*RoomAdminAddResp_UI) XXX_Marshal

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

func (*RoomAdminAddResp_UI) XXX_Merge

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

func (*RoomAdminAddResp_UI) XXX_Size

func (m *RoomAdminAddResp_UI) XXX_Size() int

func (*RoomAdminAddResp_UI) XXX_Unmarshal

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

type RoomAdminClient

type RoomAdminClient interface {
	// 根据登录态获取功能入口是否显示, 需要登录态
	IsAny(ctx context.Context, in *RoomAdminShowEntryReq, opts ...grpc.CallOption) (*RoomAdminShowEntryResp, error)
	// 获取用户拥有的的所有房管身份
	GetByUid(ctx context.Context, in *RoomAdminGetByUidReq, opts ...grpc.CallOption) (*RoomAdminGetByUidResp, error)
	// 辞职房管
	Resign(ctx context.Context, in *RoomAdminResignRoomAdminReq, opts ...grpc.CallOption) (*RoomAdminResignRoomAdminResp, error)
	// 查询需要添加的房管
	SearchForAdmin(ctx context.Context, in *RoomAdminSearchForAdminReq, opts ...grpc.CallOption) (*RoomAdminSearchForAdminResp, error)
	// 获取主播拥有的的所有房管
	GetByAnchor(ctx context.Context, in *RoomAdminGetByAnchorReq, opts ...grpc.CallOption) (*RoomAdminGetByAnchorResp, error)
	// 获取主播拥有的的所有房管,房间号维度
	GetByRoom(ctx context.Context, in *RoomAdminGetByRoomReq, opts ...grpc.CallOption) (*RoomAdminGetByRoomResp, error)
	// 撤销房管
	Dismiss(ctx context.Context, in *RoomAdminDismissAdminReq, opts ...grpc.CallOption) (*RoomAdminDismissAdminResp, error)
	// 任命房管
	Appoint(ctx context.Context, in *RoomAdminAddReq, opts ...grpc.CallOption) (*RoomAdminAddResp, error)
	// 是否房管
	IsAdmin(ctx context.Context, in *RoomAdminIsAdminReq, opts ...grpc.CallOption) (*RoomAdminIsAdminResp, error)
	// 是否房管, 不额外返回用户信息, 不判断是否主播自己
	IsAdminShort(ctx context.Context, in *RoomAdminIsAdminShortReq, opts ...grpc.CallOption) (*RoomAdminIsAdminShortResp, error)
}

RoomAdminClient is the client API for RoomAdmin service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRoomAdminClient

func NewRoomAdminClient(cc *grpc.ClientConn) RoomAdminClient

func NewXuserRoomAdminClient

func NewXuserRoomAdminClient(cfg *warden.ClientConfig, opts ...grpc.DialOption) (RoomAdminClient, error)

NewXuserRoomAdminClient new member grpc client

type RoomAdminDismissAdminReq

type RoomAdminDismissAdminReq struct {
	// 房管的用户uid
	Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"required"`
	// 主播uid
	AnchorId             int64    `protobuf:"varint,2,opt,name=anchor_id,json=anchorId,proto3" json:"anchor_id,omitempty" form:"anchor_id" validate:"required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminDismissAdminReq) Descriptor

func (*RoomAdminDismissAdminReq) Descriptor() ([]byte, []int)

func (*RoomAdminDismissAdminReq) GetAnchorId

func (m *RoomAdminDismissAdminReq) GetAnchorId() int64

func (*RoomAdminDismissAdminReq) GetUid

func (m *RoomAdminDismissAdminReq) GetUid() int64

func (*RoomAdminDismissAdminReq) Marshal

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

func (*RoomAdminDismissAdminReq) MarshalTo

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

func (*RoomAdminDismissAdminReq) ProtoMessage

func (*RoomAdminDismissAdminReq) ProtoMessage()

func (*RoomAdminDismissAdminReq) Reset

func (m *RoomAdminDismissAdminReq) Reset()

func (*RoomAdminDismissAdminReq) Size

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

func (*RoomAdminDismissAdminReq) String

func (m *RoomAdminDismissAdminReq) String() string

func (*RoomAdminDismissAdminReq) Unmarshal

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

func (*RoomAdminDismissAdminReq) XXX_DiscardUnknown

func (m *RoomAdminDismissAdminReq) XXX_DiscardUnknown()

func (*RoomAdminDismissAdminReq) XXX_Marshal

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

func (*RoomAdminDismissAdminReq) XXX_Merge

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

func (*RoomAdminDismissAdminReq) XXX_Size

func (m *RoomAdminDismissAdminReq) XXX_Size() int

func (*RoomAdminDismissAdminReq) XXX_Unmarshal

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

type RoomAdminDismissAdminResp

type RoomAdminDismissAdminResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminDismissAdminResp) Descriptor

func (*RoomAdminDismissAdminResp) Descriptor() ([]byte, []int)

func (*RoomAdminDismissAdminResp) Marshal

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

func (*RoomAdminDismissAdminResp) MarshalTo

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

func (*RoomAdminDismissAdminResp) ProtoMessage

func (*RoomAdminDismissAdminResp) ProtoMessage()

func (*RoomAdminDismissAdminResp) Reset

func (m *RoomAdminDismissAdminResp) Reset()

func (*RoomAdminDismissAdminResp) Size

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

func (*RoomAdminDismissAdminResp) String

func (m *RoomAdminDismissAdminResp) String() string

func (*RoomAdminDismissAdminResp) Unmarshal

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

func (*RoomAdminDismissAdminResp) XXX_DiscardUnknown

func (m *RoomAdminDismissAdminResp) XXX_DiscardUnknown()

func (*RoomAdminDismissAdminResp) XXX_Marshal

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

func (*RoomAdminDismissAdminResp) XXX_Merge

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

func (*RoomAdminDismissAdminResp) XXX_Size

func (m *RoomAdminDismissAdminResp) XXX_Size() int

func (*RoomAdminDismissAdminResp) XXX_Unmarshal

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

type RoomAdminGetByAnchorReq

type RoomAdminGetByAnchorReq struct {
	// 页数
	Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty" form:"page"`
	// 用户uid
	Uid                  int64    `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminGetByAnchorReq) Descriptor

func (*RoomAdminGetByAnchorReq) Descriptor() ([]byte, []int)

func (*RoomAdminGetByAnchorReq) GetPage

func (m *RoomAdminGetByAnchorReq) GetPage() int64

func (*RoomAdminGetByAnchorReq) GetUid

func (m *RoomAdminGetByAnchorReq) GetUid() int64

func (*RoomAdminGetByAnchorReq) Marshal

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

func (*RoomAdminGetByAnchorReq) MarshalTo

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

func (*RoomAdminGetByAnchorReq) ProtoMessage

func (*RoomAdminGetByAnchorReq) ProtoMessage()

func (*RoomAdminGetByAnchorReq) Reset

func (m *RoomAdminGetByAnchorReq) Reset()

func (*RoomAdminGetByAnchorReq) Size

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

func (*RoomAdminGetByAnchorReq) String

func (m *RoomAdminGetByAnchorReq) String() string

func (*RoomAdminGetByAnchorReq) Unmarshal

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

func (*RoomAdminGetByAnchorReq) XXX_DiscardUnknown

func (m *RoomAdminGetByAnchorReq) XXX_DiscardUnknown()

func (*RoomAdminGetByAnchorReq) XXX_Marshal

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

func (*RoomAdminGetByAnchorReq) XXX_Merge

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

func (*RoomAdminGetByAnchorReq) XXX_Size

func (m *RoomAdminGetByAnchorReq) XXX_Size() int

func (*RoomAdminGetByAnchorReq) XXX_Unmarshal

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

type RoomAdminGetByAnchorResp

type RoomAdminGetByAnchorResp struct {
	//
	Page *RoomAdminGetByAnchorResp_Page `protobuf:"bytes,1,opt,name=page" json:"page,omitempty"`
	//
	Data                 []*RoomAdminGetByAnchorResp_Data `protobuf:"bytes,3,rep,name=data" json:"data"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

func (*RoomAdminGetByAnchorResp) Descriptor

func (*RoomAdminGetByAnchorResp) Descriptor() ([]byte, []int)

func (*RoomAdminGetByAnchorResp) GetData

func (*RoomAdminGetByAnchorResp) GetPage

func (*RoomAdminGetByAnchorResp) Marshal

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

func (*RoomAdminGetByAnchorResp) MarshalTo

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

func (*RoomAdminGetByAnchorResp) ProtoMessage

func (*RoomAdminGetByAnchorResp) ProtoMessage()

func (*RoomAdminGetByAnchorResp) Reset

func (m *RoomAdminGetByAnchorResp) Reset()

func (*RoomAdminGetByAnchorResp) Size

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

func (*RoomAdminGetByAnchorResp) String

func (m *RoomAdminGetByAnchorResp) String() string

func (*RoomAdminGetByAnchorResp) Unmarshal

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

func (*RoomAdminGetByAnchorResp) XXX_DiscardUnknown

func (m *RoomAdminGetByAnchorResp) XXX_DiscardUnknown()

func (*RoomAdminGetByAnchorResp) XXX_Marshal

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

func (*RoomAdminGetByAnchorResp) XXX_Merge

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

func (*RoomAdminGetByAnchorResp) XXX_Size

func (m *RoomAdminGetByAnchorResp) XXX_Size() int

func (*RoomAdminGetByAnchorResp) XXX_Unmarshal

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

type RoomAdminGetByAnchorResp_Data

type RoomAdminGetByAnchorResp_Data struct {
	// 用户id
	Uid int64 `protobuf:"varint,1,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"`
	// 粉丝勋章名称
	MedalName string `protobuf:"bytes,8,opt,name=medal_name,json=medalName,proto3" json:"medal_name"`
	// 粉丝勋章等级
	Level int64 `protobuf:"varint,9,opt,name=level,proto3" json:"level"`
	// 房间号
	Roomid               int64    `protobuf:"varint,10,opt,name=roomid,proto3" json:"roomid"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminGetByAnchorResp_Data) Descriptor

func (*RoomAdminGetByAnchorResp_Data) Descriptor() ([]byte, []int)

func (*RoomAdminGetByAnchorResp_Data) GetCtime

func (m *RoomAdminGetByAnchorResp_Data) GetCtime() string

func (*RoomAdminGetByAnchorResp_Data) GetFace

func (*RoomAdminGetByAnchorResp_Data) GetLevel

func (m *RoomAdminGetByAnchorResp_Data) GetLevel() int64

func (*RoomAdminGetByAnchorResp_Data) GetMedalName

func (m *RoomAdminGetByAnchorResp_Data) GetMedalName() string

func (*RoomAdminGetByAnchorResp_Data) GetRoomid

func (m *RoomAdminGetByAnchorResp_Data) GetRoomid() int64

func (*RoomAdminGetByAnchorResp_Data) GetUid

func (*RoomAdminGetByAnchorResp_Data) GetUname

func (m *RoomAdminGetByAnchorResp_Data) GetUname() string

func (*RoomAdminGetByAnchorResp_Data) Marshal

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

func (*RoomAdminGetByAnchorResp_Data) MarshalTo

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

func (*RoomAdminGetByAnchorResp_Data) ProtoMessage

func (*RoomAdminGetByAnchorResp_Data) ProtoMessage()

func (*RoomAdminGetByAnchorResp_Data) Reset

func (m *RoomAdminGetByAnchorResp_Data) Reset()

func (*RoomAdminGetByAnchorResp_Data) Size

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

func (*RoomAdminGetByAnchorResp_Data) String

func (*RoomAdminGetByAnchorResp_Data) Unmarshal

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

func (*RoomAdminGetByAnchorResp_Data) XXX_DiscardUnknown

func (m *RoomAdminGetByAnchorResp_Data) XXX_DiscardUnknown()

func (*RoomAdminGetByAnchorResp_Data) XXX_Marshal

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

func (*RoomAdminGetByAnchorResp_Data) XXX_Merge

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

func (*RoomAdminGetByAnchorResp_Data) XXX_Size

func (m *RoomAdminGetByAnchorResp_Data) XXX_Size() int

func (*RoomAdminGetByAnchorResp_Data) XXX_Unmarshal

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

type RoomAdminGetByAnchorResp_Page

type RoomAdminGetByAnchorResp_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 (*RoomAdminGetByAnchorResp_Page) Descriptor

func (*RoomAdminGetByAnchorResp_Page) Descriptor() ([]byte, []int)

func (*RoomAdminGetByAnchorResp_Page) GetPage

func (m *RoomAdminGetByAnchorResp_Page) GetPage() int64

func (*RoomAdminGetByAnchorResp_Page) GetPageSize

func (m *RoomAdminGetByAnchorResp_Page) GetPageSize() int64

func (*RoomAdminGetByAnchorResp_Page) GetTotalCount

func (m *RoomAdminGetByAnchorResp_Page) GetTotalCount() int64

func (*RoomAdminGetByAnchorResp_Page) GetTotalPage

func (m *RoomAdminGetByAnchorResp_Page) GetTotalPage() int64

func (*RoomAdminGetByAnchorResp_Page) Marshal

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

func (*RoomAdminGetByAnchorResp_Page) MarshalTo

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

func (*RoomAdminGetByAnchorResp_Page) ProtoMessage

func (*RoomAdminGetByAnchorResp_Page) ProtoMessage()

func (*RoomAdminGetByAnchorResp_Page) Reset

func (m *RoomAdminGetByAnchorResp_Page) Reset()

func (*RoomAdminGetByAnchorResp_Page) Size

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

func (*RoomAdminGetByAnchorResp_Page) String

func (*RoomAdminGetByAnchorResp_Page) Unmarshal

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

func (*RoomAdminGetByAnchorResp_Page) XXX_DiscardUnknown

func (m *RoomAdminGetByAnchorResp_Page) XXX_DiscardUnknown()

func (*RoomAdminGetByAnchorResp_Page) XXX_Marshal

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

func (*RoomAdminGetByAnchorResp_Page) XXX_Merge

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

func (*RoomAdminGetByAnchorResp_Page) XXX_Size

func (m *RoomAdminGetByAnchorResp_Page) XXX_Size() int

func (*RoomAdminGetByAnchorResp_Page) XXX_Unmarshal

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

type RoomAdminGetByRoomReq

type RoomAdminGetByRoomReq 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 (*RoomAdminGetByRoomReq) Descriptor

func (*RoomAdminGetByRoomReq) Descriptor() ([]byte, []int)

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 {
	Data                 []*RoomAdminGetByRoomResp_Data `protobuf:"bytes,1,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) 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 {
	// 上任时间
	Ctime string `protobuf:"bytes,1,opt,name=ctime,proto3" json:"ctime"`
	// 房管的用户id
	Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
	// 房间号
	Roomid               int64    `protobuf:"varint,3,opt,name=roomid,proto3" json:"roomid"`
	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) GetRoomid

func (m *RoomAdminGetByRoomResp_Data) GetRoomid() int64

func (*RoomAdminGetByRoomResp_Data) GetUid

func (m *RoomAdminGetByRoomResp_Data) GetUid() int64

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 RoomAdminGetByUidReq

type RoomAdminGetByUidReq struct {
	// 用户uid
	Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"required"`
	// 页数
	Page                 int64    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty" form:"page"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminGetByUidReq) Descriptor

func (*RoomAdminGetByUidReq) Descriptor() ([]byte, []int)

func (*RoomAdminGetByUidReq) GetPage

func (m *RoomAdminGetByUidReq) GetPage() int64

func (*RoomAdminGetByUidReq) GetUid

func (m *RoomAdminGetByUidReq) GetUid() int64

func (*RoomAdminGetByUidReq) Marshal

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

func (*RoomAdminGetByUidReq) MarshalTo

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

func (*RoomAdminGetByUidReq) ProtoMessage

func (*RoomAdminGetByUidReq) ProtoMessage()

func (*RoomAdminGetByUidReq) Reset

func (m *RoomAdminGetByUidReq) Reset()

func (*RoomAdminGetByUidReq) Size

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

func (*RoomAdminGetByUidReq) String

func (m *RoomAdminGetByUidReq) String() string

func (*RoomAdminGetByUidReq) Unmarshal

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

func (*RoomAdminGetByUidReq) XXX_DiscardUnknown

func (m *RoomAdminGetByUidReq) XXX_DiscardUnknown()

func (*RoomAdminGetByUidReq) XXX_Marshal

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

func (*RoomAdminGetByUidReq) XXX_Merge

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

func (*RoomAdminGetByUidReq) XXX_Size

func (m *RoomAdminGetByUidReq) XXX_Size() int

func (*RoomAdminGetByUidReq) XXX_Unmarshal

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

type RoomAdminGetByUidResp

type RoomAdminGetByUidResp struct {
	//
	Page *RoomAdminGetByUidResp_Page `protobuf:"bytes,1,opt,name=page" json:"page,omitempty"`
	//
	Data                 []*RoomAdminGetByUidResp_Data `protobuf:"bytes,3,rep,name=data" json:"data"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*RoomAdminGetByUidResp) Descriptor

func (*RoomAdminGetByUidResp) Descriptor() ([]byte, []int)

func (*RoomAdminGetByUidResp) GetData

func (*RoomAdminGetByUidResp) GetPage

func (*RoomAdminGetByUidResp) Marshal

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

func (*RoomAdminGetByUidResp) MarshalTo

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

func (*RoomAdminGetByUidResp) ProtoMessage

func (*RoomAdminGetByUidResp) ProtoMessage()

func (*RoomAdminGetByUidResp) Reset

func (m *RoomAdminGetByUidResp) Reset()

func (*RoomAdminGetByUidResp) Size

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

func (*RoomAdminGetByUidResp) String

func (m *RoomAdminGetByUidResp) String() string

func (*RoomAdminGetByUidResp) Unmarshal

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

func (*RoomAdminGetByUidResp) XXX_DiscardUnknown

func (m *RoomAdminGetByUidResp) XXX_DiscardUnknown()

func (*RoomAdminGetByUidResp) XXX_Marshal

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

func (*RoomAdminGetByUidResp) XXX_Merge

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

func (*RoomAdminGetByUidResp) XXX_Size

func (m *RoomAdminGetByUidResp) XXX_Size() int

func (*RoomAdminGetByUidResp) XXX_Unmarshal

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

type RoomAdminGetByUidResp_Data

type RoomAdminGetByUidResp_Data struct {
	// 用户id
	Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
	// 房间号
	Roomid int64 `protobuf:"varint,2,opt,name=roomid,proto3" json:"roomid"`
	// 主播的用户id
	AnchorId int64 `protobuf:"varint,3,opt,name=anchor_id,json=anchorId,proto3" json:"anchor_id"`
	// 主播用户名
	Uname string `protobuf:"bytes,4,opt,name=uname,proto3" json:"uname"`
	// 主播封面
	AnchorCover string `protobuf:"bytes,5,opt,name=anchor_cover,json=anchorCover,proto3" json:"anchor_cover"`
	// 上任时间
	Ctime                string   `protobuf:"bytes,6,opt,name=ctime,proto3" json:"ctime"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminGetByUidResp_Data) Descriptor

func (*RoomAdminGetByUidResp_Data) Descriptor() ([]byte, []int)

func (*RoomAdminGetByUidResp_Data) GetAnchorCover

func (m *RoomAdminGetByUidResp_Data) GetAnchorCover() string

func (*RoomAdminGetByUidResp_Data) GetAnchorId

func (m *RoomAdminGetByUidResp_Data) GetAnchorId() int64

func (*RoomAdminGetByUidResp_Data) GetCtime

func (m *RoomAdminGetByUidResp_Data) GetCtime() string

func (*RoomAdminGetByUidResp_Data) GetRoomid

func (m *RoomAdminGetByUidResp_Data) GetRoomid() int64

func (*RoomAdminGetByUidResp_Data) GetUid

func (m *RoomAdminGetByUidResp_Data) GetUid() int64

func (*RoomAdminGetByUidResp_Data) GetUname

func (m *RoomAdminGetByUidResp_Data) GetUname() string

func (*RoomAdminGetByUidResp_Data) Marshal

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

func (*RoomAdminGetByUidResp_Data) MarshalTo

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

func (*RoomAdminGetByUidResp_Data) ProtoMessage

func (*RoomAdminGetByUidResp_Data) ProtoMessage()

func (*RoomAdminGetByUidResp_Data) Reset

func (m *RoomAdminGetByUidResp_Data) Reset()

func (*RoomAdminGetByUidResp_Data) Size

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

func (*RoomAdminGetByUidResp_Data) String

func (m *RoomAdminGetByUidResp_Data) String() string

func (*RoomAdminGetByUidResp_Data) Unmarshal

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

func (*RoomAdminGetByUidResp_Data) XXX_DiscardUnknown

func (m *RoomAdminGetByUidResp_Data) XXX_DiscardUnknown()

func (*RoomAdminGetByUidResp_Data) XXX_Marshal

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

func (*RoomAdminGetByUidResp_Data) XXX_Merge

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

func (*RoomAdminGetByUidResp_Data) XXX_Size

func (m *RoomAdminGetByUidResp_Data) XXX_Size() int

func (*RoomAdminGetByUidResp_Data) XXX_Unmarshal

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

type RoomAdminGetByUidResp_Page

type RoomAdminGetByUidResp_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 (*RoomAdminGetByUidResp_Page) Descriptor

func (*RoomAdminGetByUidResp_Page) Descriptor() ([]byte, []int)

func (*RoomAdminGetByUidResp_Page) GetPage

func (m *RoomAdminGetByUidResp_Page) GetPage() int64

func (*RoomAdminGetByUidResp_Page) GetPageSize

func (m *RoomAdminGetByUidResp_Page) GetPageSize() int64

func (*RoomAdminGetByUidResp_Page) GetTotalCount

func (m *RoomAdminGetByUidResp_Page) GetTotalCount() int64

func (*RoomAdminGetByUidResp_Page) GetTotalPage

func (m *RoomAdminGetByUidResp_Page) GetTotalPage() int64

func (*RoomAdminGetByUidResp_Page) Marshal

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

func (*RoomAdminGetByUidResp_Page) MarshalTo

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

func (*RoomAdminGetByUidResp_Page) ProtoMessage

func (*RoomAdminGetByUidResp_Page) ProtoMessage()

func (*RoomAdminGetByUidResp_Page) Reset

func (m *RoomAdminGetByUidResp_Page) Reset()

func (*RoomAdminGetByUidResp_Page) Size

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

func (*RoomAdminGetByUidResp_Page) String

func (m *RoomAdminGetByUidResp_Page) String() string

func (*RoomAdminGetByUidResp_Page) Unmarshal

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

func (*RoomAdminGetByUidResp_Page) XXX_DiscardUnknown

func (m *RoomAdminGetByUidResp_Page) XXX_DiscardUnknown()

func (*RoomAdminGetByUidResp_Page) XXX_Marshal

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

func (*RoomAdminGetByUidResp_Page) XXX_Merge

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

func (*RoomAdminGetByUidResp_Page) XXX_Size

func (m *RoomAdminGetByUidResp_Page) XXX_Size() int

func (*RoomAdminGetByUidResp_Page) XXX_Unmarshal

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

type RoomAdminIsAdminReq

type RoomAdminIsAdminReq struct {
	// 房管的uid
	Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"required"`
	// 主播uid
	AnchorId int64 `protobuf:"varint,2,opt,name=anchor_id,json=anchorId,proto3" json:"anchor_id,omitempty" form:"anchor_id" validate:"required"`
	// 房间号
	Roomid               int64    `protobuf:"varint,3,opt,name=roomid,proto3" json:"roomid,omitempty" form:"roomid" validate:"required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminIsAdminReq) Descriptor

func (*RoomAdminIsAdminReq) Descriptor() ([]byte, []int)

func (*RoomAdminIsAdminReq) GetAnchorId

func (m *RoomAdminIsAdminReq) GetAnchorId() int64

func (*RoomAdminIsAdminReq) GetRoomid

func (m *RoomAdminIsAdminReq) GetRoomid() int64

func (*RoomAdminIsAdminReq) GetUid

func (m *RoomAdminIsAdminReq) GetUid() int64

func (*RoomAdminIsAdminReq) Marshal

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

func (*RoomAdminIsAdminReq) MarshalTo

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

func (*RoomAdminIsAdminReq) ProtoMessage

func (*RoomAdminIsAdminReq) ProtoMessage()

func (*RoomAdminIsAdminReq) Reset

func (m *RoomAdminIsAdminReq) Reset()

func (*RoomAdminIsAdminReq) Size

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

func (*RoomAdminIsAdminReq) String

func (m *RoomAdminIsAdminReq) String() string

func (*RoomAdminIsAdminReq) Unmarshal

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

func (*RoomAdminIsAdminReq) XXX_DiscardUnknown

func (m *RoomAdminIsAdminReq) XXX_DiscardUnknown()

func (*RoomAdminIsAdminReq) XXX_Marshal

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

func (*RoomAdminIsAdminReq) XXX_Merge

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

func (*RoomAdminIsAdminReq) XXX_Size

func (m *RoomAdminIsAdminReq) XXX_Size() int

func (*RoomAdminIsAdminReq) XXX_Unmarshal

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

type RoomAdminIsAdminResp

type RoomAdminIsAdminResp struct {
	// banner
	Userinfo *RoomAdminIsAdminResp_UI `protobuf:"bytes,1,opt,name=userinfo" json:"userinfo"`
	// 房管的用户id
	Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
	// 房间号
	Roomid               int64    `protobuf:"varint,3,opt,name=roomid,proto3" json:"roomid"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminIsAdminResp) Descriptor

func (*RoomAdminIsAdminResp) Descriptor() ([]byte, []int)

func (*RoomAdminIsAdminResp) GetRoomid

func (m *RoomAdminIsAdminResp) GetRoomid() int64

func (*RoomAdminIsAdminResp) GetUid

func (m *RoomAdminIsAdminResp) GetUid() int64

func (*RoomAdminIsAdminResp) GetUserinfo

func (*RoomAdminIsAdminResp) Marshal

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

func (*RoomAdminIsAdminResp) MarshalTo

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

func (*RoomAdminIsAdminResp) ProtoMessage

func (*RoomAdminIsAdminResp) ProtoMessage()

func (*RoomAdminIsAdminResp) Reset

func (m *RoomAdminIsAdminResp) Reset()

func (*RoomAdminIsAdminResp) Size

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

func (*RoomAdminIsAdminResp) String

func (m *RoomAdminIsAdminResp) String() string

func (*RoomAdminIsAdminResp) Unmarshal

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

func (*RoomAdminIsAdminResp) XXX_DiscardUnknown

func (m *RoomAdminIsAdminResp) XXX_DiscardUnknown()

func (*RoomAdminIsAdminResp) XXX_Marshal

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

func (*RoomAdminIsAdminResp) XXX_Merge

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

func (*RoomAdminIsAdminResp) XXX_Size

func (m *RoomAdminIsAdminResp) XXX_Size() int

func (*RoomAdminIsAdminResp) XXX_Unmarshal

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

type RoomAdminIsAdminResp_UI

type RoomAdminIsAdminResp_UI struct {
	// 用户id
	Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
	// 用户名
	Uname                string   `protobuf:"bytes,2,opt,name=uname,proto3" json:"uname"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminIsAdminResp_UI) Descriptor

func (*RoomAdminIsAdminResp_UI) Descriptor() ([]byte, []int)

func (*RoomAdminIsAdminResp_UI) GetUid

func (m *RoomAdminIsAdminResp_UI) GetUid() int64

func (*RoomAdminIsAdminResp_UI) GetUname

func (m *RoomAdminIsAdminResp_UI) GetUname() string

func (*RoomAdminIsAdminResp_UI) Marshal

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

func (*RoomAdminIsAdminResp_UI) MarshalTo

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

func (*RoomAdminIsAdminResp_UI) ProtoMessage

func (*RoomAdminIsAdminResp_UI) ProtoMessage()

func (*RoomAdminIsAdminResp_UI) Reset

func (m *RoomAdminIsAdminResp_UI) Reset()

func (*RoomAdminIsAdminResp_UI) Size

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

func (*RoomAdminIsAdminResp_UI) String

func (m *RoomAdminIsAdminResp_UI) String() string

func (*RoomAdminIsAdminResp_UI) Unmarshal

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

func (*RoomAdminIsAdminResp_UI) XXX_DiscardUnknown

func (m *RoomAdminIsAdminResp_UI) XXX_DiscardUnknown()

func (*RoomAdminIsAdminResp_UI) XXX_Marshal

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

func (*RoomAdminIsAdminResp_UI) XXX_Merge

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

func (*RoomAdminIsAdminResp_UI) XXX_Size

func (m *RoomAdminIsAdminResp_UI) XXX_Size() int

func (*RoomAdminIsAdminResp_UI) XXX_Unmarshal

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

type RoomAdminIsAdminShortReq

type RoomAdminIsAdminShortReq struct {
	// 房管的uid
	Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"required"`
	// 房间号
	Roomid               int64    `protobuf:"varint,3,opt,name=roomid,proto3" json:"roomid,omitempty" form:"roomid" validate:"required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminIsAdminShortReq) Descriptor

func (*RoomAdminIsAdminShortReq) Descriptor() ([]byte, []int)

func (*RoomAdminIsAdminShortReq) GetRoomid

func (m *RoomAdminIsAdminShortReq) GetRoomid() int64

func (*RoomAdminIsAdminShortReq) GetUid

func (m *RoomAdminIsAdminShortReq) GetUid() int64

func (*RoomAdminIsAdminShortReq) Marshal

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

func (*RoomAdminIsAdminShortReq) MarshalTo

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

func (*RoomAdminIsAdminShortReq) ProtoMessage

func (*RoomAdminIsAdminShortReq) ProtoMessage()

func (*RoomAdminIsAdminShortReq) Reset

func (m *RoomAdminIsAdminShortReq) Reset()

func (*RoomAdminIsAdminShortReq) Size

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

func (*RoomAdminIsAdminShortReq) String

func (m *RoomAdminIsAdminShortReq) String() string

func (*RoomAdminIsAdminShortReq) Unmarshal

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

func (*RoomAdminIsAdminShortReq) XXX_DiscardUnknown

func (m *RoomAdminIsAdminShortReq) XXX_DiscardUnknown()

func (*RoomAdminIsAdminShortReq) XXX_Marshal

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

func (*RoomAdminIsAdminShortReq) XXX_Merge

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

func (*RoomAdminIsAdminShortReq) XXX_Size

func (m *RoomAdminIsAdminShortReq) XXX_Size() int

func (*RoomAdminIsAdminShortReq) XXX_Unmarshal

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

type RoomAdminIsAdminShortResp

type RoomAdminIsAdminShortResp struct {
	// 是否房管 0:不是,1:是
	Result               int64    `protobuf:"varint,1,opt,name=result,proto3" json:"result"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminIsAdminShortResp) Descriptor

func (*RoomAdminIsAdminShortResp) Descriptor() ([]byte, []int)

func (*RoomAdminIsAdminShortResp) GetResult

func (m *RoomAdminIsAdminShortResp) GetResult() int64

func (*RoomAdminIsAdminShortResp) Marshal

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

func (*RoomAdminIsAdminShortResp) MarshalTo

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

func (*RoomAdminIsAdminShortResp) ProtoMessage

func (*RoomAdminIsAdminShortResp) ProtoMessage()

func (*RoomAdminIsAdminShortResp) Reset

func (m *RoomAdminIsAdminShortResp) Reset()

func (*RoomAdminIsAdminShortResp) Size

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

func (*RoomAdminIsAdminShortResp) String

func (m *RoomAdminIsAdminShortResp) String() string

func (*RoomAdminIsAdminShortResp) Unmarshal

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

func (*RoomAdminIsAdminShortResp) XXX_DiscardUnknown

func (m *RoomAdminIsAdminShortResp) XXX_DiscardUnknown()

func (*RoomAdminIsAdminShortResp) XXX_Marshal

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

func (*RoomAdminIsAdminShortResp) XXX_Merge

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

func (*RoomAdminIsAdminShortResp) XXX_Size

func (m *RoomAdminIsAdminShortResp) XXX_Size() int

func (*RoomAdminIsAdminShortResp) XXX_Unmarshal

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

type RoomAdminResignRoomAdminReq

type RoomAdminResignRoomAdminReq struct {
	// 房间号
	Roomid int64 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty" form:"roomid" validate:"required"`
	// 用户uid
	Uid                  int64    `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminResignRoomAdminReq) Descriptor

func (*RoomAdminResignRoomAdminReq) Descriptor() ([]byte, []int)

func (*RoomAdminResignRoomAdminReq) GetRoomid

func (m *RoomAdminResignRoomAdminReq) GetRoomid() int64

func (*RoomAdminResignRoomAdminReq) GetUid

func (m *RoomAdminResignRoomAdminReq) GetUid() int64

func (*RoomAdminResignRoomAdminReq) Marshal

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

func (*RoomAdminResignRoomAdminReq) MarshalTo

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

func (*RoomAdminResignRoomAdminReq) ProtoMessage

func (*RoomAdminResignRoomAdminReq) ProtoMessage()

func (*RoomAdminResignRoomAdminReq) Reset

func (m *RoomAdminResignRoomAdminReq) Reset()

func (*RoomAdminResignRoomAdminReq) Size

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

func (*RoomAdminResignRoomAdminReq) String

func (m *RoomAdminResignRoomAdminReq) String() string

func (*RoomAdminResignRoomAdminReq) Unmarshal

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

func (*RoomAdminResignRoomAdminReq) XXX_DiscardUnknown

func (m *RoomAdminResignRoomAdminReq) XXX_DiscardUnknown()

func (*RoomAdminResignRoomAdminReq) XXX_Marshal

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

func (*RoomAdminResignRoomAdminReq) XXX_Merge

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

func (*RoomAdminResignRoomAdminReq) XXX_Size

func (m *RoomAdminResignRoomAdminReq) XXX_Size() int

func (*RoomAdminResignRoomAdminReq) XXX_Unmarshal

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

type RoomAdminResignRoomAdminResp

type RoomAdminResignRoomAdminResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminResignRoomAdminResp) Descriptor

func (*RoomAdminResignRoomAdminResp) Descriptor() ([]byte, []int)

func (*RoomAdminResignRoomAdminResp) Marshal

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

func (*RoomAdminResignRoomAdminResp) MarshalTo

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

func (*RoomAdminResignRoomAdminResp) ProtoMessage

func (*RoomAdminResignRoomAdminResp) ProtoMessage()

func (*RoomAdminResignRoomAdminResp) Reset

func (m *RoomAdminResignRoomAdminResp) Reset()

func (*RoomAdminResignRoomAdminResp) Size

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

func (*RoomAdminResignRoomAdminResp) String

func (*RoomAdminResignRoomAdminResp) Unmarshal

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

func (*RoomAdminResignRoomAdminResp) XXX_DiscardUnknown

func (m *RoomAdminResignRoomAdminResp) XXX_DiscardUnknown()

func (*RoomAdminResignRoomAdminResp) XXX_Marshal

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

func (*RoomAdminResignRoomAdminResp) XXX_Merge

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

func (*RoomAdminResignRoomAdminResp) XXX_Size

func (m *RoomAdminResignRoomAdminResp) XXX_Size() int

func (*RoomAdminResignRoomAdminResp) XXX_Unmarshal

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

type RoomAdminSearchForAdminReq

type RoomAdminSearchForAdminReq struct {
	Uid                  int64    `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"required"`
	KeyWord              string   `protobuf:"bytes,2,opt,name=key_word,json=keyWord,proto3" json:"key_word,omitempty" form:"key_word" validate:"required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminSearchForAdminReq) Descriptor

func (*RoomAdminSearchForAdminReq) Descriptor() ([]byte, []int)

func (*RoomAdminSearchForAdminReq) GetKeyWord

func (m *RoomAdminSearchForAdminReq) GetKeyWord() string

func (*RoomAdminSearchForAdminReq) GetUid

func (m *RoomAdminSearchForAdminReq) GetUid() int64

func (*RoomAdminSearchForAdminReq) Marshal

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

func (*RoomAdminSearchForAdminReq) MarshalTo

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

func (*RoomAdminSearchForAdminReq) ProtoMessage

func (*RoomAdminSearchForAdminReq) ProtoMessage()

func (*RoomAdminSearchForAdminReq) Reset

func (m *RoomAdminSearchForAdminReq) Reset()

func (*RoomAdminSearchForAdminReq) Size

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

func (*RoomAdminSearchForAdminReq) String

func (m *RoomAdminSearchForAdminReq) String() string

func (*RoomAdminSearchForAdminReq) Unmarshal

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

func (*RoomAdminSearchForAdminReq) XXX_DiscardUnknown

func (m *RoomAdminSearchForAdminReq) XXX_DiscardUnknown()

func (*RoomAdminSearchForAdminReq) XXX_Marshal

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

func (*RoomAdminSearchForAdminReq) XXX_Merge

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

func (*RoomAdminSearchForAdminReq) XXX_Size

func (m *RoomAdminSearchForAdminReq) XXX_Size() int

func (*RoomAdminSearchForAdminReq) XXX_Unmarshal

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

type RoomAdminSearchForAdminResp

type RoomAdminSearchForAdminResp struct {
	Data                 []*RoomAdminSearchForAdminResp_Data `protobuf:"bytes,3,rep,name=data" json:"data"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

func (*RoomAdminSearchForAdminResp) Descriptor

func (*RoomAdminSearchForAdminResp) Descriptor() ([]byte, []int)

func (*RoomAdminSearchForAdminResp) GetData

func (*RoomAdminSearchForAdminResp) Marshal

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

func (*RoomAdminSearchForAdminResp) MarshalTo

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

func (*RoomAdminSearchForAdminResp) ProtoMessage

func (*RoomAdminSearchForAdminResp) ProtoMessage()

func (*RoomAdminSearchForAdminResp) Reset

func (m *RoomAdminSearchForAdminResp) Reset()

func (*RoomAdminSearchForAdminResp) Size

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

func (*RoomAdminSearchForAdminResp) String

func (m *RoomAdminSearchForAdminResp) String() string

func (*RoomAdminSearchForAdminResp) Unmarshal

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

func (*RoomAdminSearchForAdminResp) XXX_DiscardUnknown

func (m *RoomAdminSearchForAdminResp) XXX_DiscardUnknown()

func (*RoomAdminSearchForAdminResp) XXX_Marshal

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

func (*RoomAdminSearchForAdminResp) XXX_Merge

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

func (*RoomAdminSearchForAdminResp) XXX_Size

func (m *RoomAdminSearchForAdminResp) XXX_Size() int

func (*RoomAdminSearchForAdminResp) XXX_Unmarshal

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

type RoomAdminSearchForAdminResp_Data

type RoomAdminSearchForAdminResp_Data struct {
	// 用户id
	Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
	// 是否房管
	IsAdmin int64 `protobuf:"varint,2,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin"`
	// 用户名
	Uname string `protobuf:"bytes,4,opt,name=uname,proto3" json:"uname"`
	// 用户头像
	Face string `protobuf:"bytes,5,opt,name=face,proto3" json:"face"`
	// 粉丝勋章名称
	MedalName string `protobuf:"bytes,6,opt,name=medal_name,json=medalName,proto3" json:"medal_name"`
	// 粉丝勋章等级
	Level                int64    `protobuf:"varint,7,opt,name=level,proto3" json:"level"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomAdminSearchForAdminResp_Data) Descriptor

func (*RoomAdminSearchForAdminResp_Data) Descriptor() ([]byte, []int)

func (*RoomAdminSearchForAdminResp_Data) GetFace

func (*RoomAdminSearchForAdminResp_Data) GetIsAdmin

func (m *RoomAdminSearchForAdminResp_Data) GetIsAdmin() int64

func (*RoomAdminSearchForAdminResp_Data) GetLevel

func (*RoomAdminSearchForAdminResp_Data) GetMedalName

func (m *RoomAdminSearchForAdminResp_Data) GetMedalName() string

func (*RoomAdminSearchForAdminResp_Data) GetUid

func (*RoomAdminSearchForAdminResp_Data) GetUname

func (*RoomAdminSearchForAdminResp_Data) Marshal

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

func (*RoomAdminSearchForAdminResp_Data) MarshalTo

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

func (*RoomAdminSearchForAdminResp_Data) ProtoMessage

func (*RoomAdminSearchForAdminResp_Data) ProtoMessage()

func (*RoomAdminSearchForAdminResp_Data) Reset

func (*RoomAdminSearchForAdminResp_Data) Size

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

func (*RoomAdminSearchForAdminResp_Data) String

func (*RoomAdminSearchForAdminResp_Data) Unmarshal

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

func (*RoomAdminSearchForAdminResp_Data) XXX_DiscardUnknown

func (m *RoomAdminSearchForAdminResp_Data) XXX_DiscardUnknown()

func (*RoomAdminSearchForAdminResp_Data) XXX_Marshal

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

func (*RoomAdminSearchForAdminResp_Data) XXX_Merge

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

func (*RoomAdminSearchForAdminResp_Data) XXX_Size

func (m *RoomAdminSearchForAdminResp_Data) XXX_Size() int

func (*RoomAdminSearchForAdminResp_Data) XXX_Unmarshal

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

type RoomAdminServer

type RoomAdminServer interface {
	// 根据登录态获取功能入口是否显示, 需要登录态
	IsAny(context.Context, *RoomAdminShowEntryReq) (*RoomAdminShowEntryResp, error)
	// 获取用户拥有的的所有房管身份
	GetByUid(context.Context, *RoomAdminGetByUidReq) (*RoomAdminGetByUidResp, error)
	// 辞职房管
	Resign(context.Context, *RoomAdminResignRoomAdminReq) (*RoomAdminResignRoomAdminResp, error)
	// 查询需要添加的房管
	SearchForAdmin(context.Context, *RoomAdminSearchForAdminReq) (*RoomAdminSearchForAdminResp, error)
	// 获取主播拥有的的所有房管
	GetByAnchor(context.Context, *RoomAdminGetByAnchorReq) (*RoomAdminGetByAnchorResp, error)
	// 获取主播拥有的的所有房管,房间号维度
	GetByRoom(context.Context, *RoomAdminGetByRoomReq) (*RoomAdminGetByRoomResp, error)
	// 撤销房管
	Dismiss(context.Context, *RoomAdminDismissAdminReq) (*RoomAdminDismissAdminResp, error)
	// 任命房管
	Appoint(context.Context, *RoomAdminAddReq) (*RoomAdminAddResp, error)
	// 是否房管
	IsAdmin(context.Context, *RoomAdminIsAdminReq) (*RoomAdminIsAdminResp, error)
	// 是否房管, 不额外返回用户信息, 不判断是否主播自己
	IsAdminShort(context.Context, *RoomAdminIsAdminShortReq) (*RoomAdminIsAdminShortResp, error)
}

RoomAdminServer is the server API for RoomAdmin service.

type RoomAdminShowEntryReq

type RoomAdminShowEntryReq struct {
	Uid                  int64    `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

历史记录请求参数定义

func (*RoomAdminShowEntryReq) Descriptor

func (*RoomAdminShowEntryReq) Descriptor() ([]byte, []int)

func (*RoomAdminShowEntryReq) GetUid

func (m *RoomAdminShowEntryReq) GetUid() int64

func (*RoomAdminShowEntryReq) Marshal

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

func (*RoomAdminShowEntryReq) MarshalTo

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

func (*RoomAdminShowEntryReq) ProtoMessage

func (*RoomAdminShowEntryReq) ProtoMessage()

func (*RoomAdminShowEntryReq) Reset

func (m *RoomAdminShowEntryReq) Reset()

func (*RoomAdminShowEntryReq) Size

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

func (*RoomAdminShowEntryReq) String

func (m *RoomAdminShowEntryReq) String() string

func (*RoomAdminShowEntryReq) Unmarshal

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

func (*RoomAdminShowEntryReq) XXX_DiscardUnknown

func (m *RoomAdminShowEntryReq) XXX_DiscardUnknown()

func (*RoomAdminShowEntryReq) XXX_Marshal

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

func (*RoomAdminShowEntryReq) XXX_Merge

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

func (*RoomAdminShowEntryReq) XXX_Size

func (m *RoomAdminShowEntryReq) XXX_Size() int

func (*RoomAdminShowEntryReq) XXX_Unmarshal

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

type RoomAdminShowEntryResp

type RoomAdminShowEntryResp struct {
	// 是否有房管
	HasAdmin             int64    `protobuf:"varint,1,opt,name=has_admin,json=hasAdmin,proto3" json:"has_admin,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

获取接口返回响应

func (*RoomAdminShowEntryResp) Descriptor

func (*RoomAdminShowEntryResp) Descriptor() ([]byte, []int)

func (*RoomAdminShowEntryResp) GetHasAdmin

func (m *RoomAdminShowEntryResp) GetHasAdmin() int64

func (*RoomAdminShowEntryResp) Marshal

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

func (*RoomAdminShowEntryResp) MarshalTo

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

func (*RoomAdminShowEntryResp) ProtoMessage

func (*RoomAdminShowEntryResp) ProtoMessage()

func (*RoomAdminShowEntryResp) Reset

func (m *RoomAdminShowEntryResp) Reset()

func (*RoomAdminShowEntryResp) Size

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

func (*RoomAdminShowEntryResp) String

func (m *RoomAdminShowEntryResp) String() string

func (*RoomAdminShowEntryResp) Unmarshal

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

func (*RoomAdminShowEntryResp) XXX_DiscardUnknown

func (m *RoomAdminShowEntryResp) XXX_DiscardUnknown()

func (*RoomAdminShowEntryResp) XXX_Marshal

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

func (*RoomAdminShowEntryResp) XXX_Merge

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

func (*RoomAdminShowEntryResp) XXX_Size

func (m *RoomAdminShowEntryResp) XXX_Size() int

func (*RoomAdminShowEntryResp) XXX_Unmarshal

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

type TargetIds

type TargetIds struct {
	TargetId             int64    `` /* 128-byte string literal not displayed */
	SortType             int64    `protobuf:"varint,2,opt,name=sort_type,json=sortType,proto3" json:"sort_type,omitempty" form:"sort_type" validate:"gt=0"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TargetIds) Descriptor

func (*TargetIds) Descriptor() ([]byte, []int)

func (*TargetIds) GetSortType

func (m *TargetIds) GetSortType() int64

func (*TargetIds) GetTargetId

func (m *TargetIds) GetTargetId() int64

func (*TargetIds) Marshal

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

func (*TargetIds) MarshalTo

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

func (*TargetIds) ProtoMessage

func (*TargetIds) ProtoMessage()

func (*TargetIds) Reset

func (m *TargetIds) Reset()

func (*TargetIds) Size

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

func (*TargetIds) String

func (m *TargetIds) String() string

func (*TargetIds) Unmarshal

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

func (*TargetIds) XXX_DiscardUnknown

func (m *TargetIds) XXX_DiscardUnknown()

func (*TargetIds) XXX_Marshal

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

func (*TargetIds) XXX_Merge

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

func (*TargetIds) XXX_Size

func (m *TargetIds) XXX_Size() int

func (*TargetIds) XXX_Unmarshal

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

type TopListGuard

type TopListGuard struct {
	Uid                  int64    `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
	Ruid                 int64    `protobuf:"varint,2,opt,name=ruid,proto3" json:"ruid"`
	Rank                 int64    `protobuf:"varint,4,opt,name=rank,proto3" json:"rank"`
	GuardLevel           int64    `protobuf:"varint,3,opt,name=guard_level,json=guardLevel,proto3" json:"guard_level"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TopListGuard) Descriptor

func (*TopListGuard) Descriptor() ([]byte, []int)

func (*TopListGuard) GetGuardLevel

func (m *TopListGuard) GetGuardLevel() int64

func (*TopListGuard) GetRank

func (m *TopListGuard) GetRank() int64

func (*TopListGuard) GetRuid

func (m *TopListGuard) GetRuid() int64

func (*TopListGuard) GetUid

func (m *TopListGuard) GetUid() int64

func (*TopListGuard) Marshal

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

func (*TopListGuard) MarshalTo

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

func (*TopListGuard) ProtoMessage

func (*TopListGuard) ProtoMessage()

func (*TopListGuard) Reset

func (m *TopListGuard) Reset()

func (*TopListGuard) Size

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

func (*TopListGuard) String

func (m *TopListGuard) String() string

func (*TopListGuard) Unmarshal

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

func (*TopListGuard) XXX_DiscardUnknown

func (m *TopListGuard) XXX_DiscardUnknown()

func (*TopListGuard) XXX_Marshal

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

func (*TopListGuard) XXX_Merge

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

func (*TopListGuard) XXX_Size

func (m *TopListGuard) XXX_Size() int

func (*TopListGuard) XXX_Unmarshal

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

type UidReq

type UidReq struct {
	Uid                  int64    `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" validate:"gt=0,required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UidReq) Descriptor

func (*UidReq) Descriptor() ([]byte, []int)

func (*UidReq) GetUid

func (m *UidReq) GetUid() int64

func (*UidReq) Marshal

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

func (*UidReq) MarshalTo

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

func (*UidReq) ProtoMessage

func (*UidReq) ProtoMessage()

func (*UidReq) Reset

func (m *UidReq) Reset()

func (*UidReq) Size

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

func (*UidReq) String

func (m *UidReq) String() string

func (*UidReq) Unmarshal

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

func (*UidReq) XXX_DiscardUnknown

func (m *UidReq) XXX_DiscardUnknown()

func (*UidReq) XXX_Marshal

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

func (*UidReq) XXX_Merge

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

func (*UidReq) XXX_Size

func (m *UidReq) XXX_Size() int

func (*UidReq) XXX_Unmarshal

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

type UserExp

type UserExp interface {
	// GetUserExpMulti 获取用户经验与等级信息,支持批量
	GetUserExp(ctx context.Context, req *GetUserExpReq) (resp *GetUserExpResp, err error)

	// AddUserExp 增加用户经验,不支持批量
	AddUserExp(ctx context.Context, req *AddUserExpReq) (resp *AddUserExpResp, err error)
}

UserExp 相关服务

type UserExpChunk

type UserExpChunk struct {
	Uid                  int64    `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"gt=0,required"`
	ReqBiz               int64    `protobuf:"varint,2,opt,name=req_biz,json=reqBiz,proto3" json:"req_biz,omitempty" form:"req_biz" validate:"required"`
	Type                 int64    `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty" form:"type" validate:"gt=0,required"`
	Num                  int64    `protobuf:"varint,4,opt,name=num,proto3" json:"num,omitempty" form:"num" validate:"gt=0,required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserExpChunk) Descriptor

func (*UserExpChunk) Descriptor() ([]byte, []int)

func (*UserExpChunk) GetNum

func (m *UserExpChunk) GetNum() int64

func (*UserExpChunk) GetReqBiz

func (m *UserExpChunk) GetReqBiz() int64

func (*UserExpChunk) GetType

func (m *UserExpChunk) GetType() int64

func (*UserExpChunk) GetUid

func (m *UserExpChunk) GetUid() int64

func (*UserExpChunk) Marshal

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

func (*UserExpChunk) MarshalTo

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

func (*UserExpChunk) ProtoMessage

func (*UserExpChunk) ProtoMessage()

func (*UserExpChunk) Reset

func (m *UserExpChunk) Reset()

func (*UserExpChunk) Size

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

func (*UserExpChunk) String

func (m *UserExpChunk) String() string

func (*UserExpChunk) Unmarshal

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

func (*UserExpChunk) XXX_DiscardUnknown

func (m *UserExpChunk) XXX_DiscardUnknown()

func (*UserExpChunk) XXX_Marshal

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

func (*UserExpChunk) XXX_Merge

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

func (*UserExpChunk) XXX_Size

func (m *UserExpChunk) XXX_Size() int

func (*UserExpChunk) XXX_Unmarshal

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

type UserExpClient

type UserExpClient interface {
	// GetUserExpMulti 获取用户经验与等级信息,支持批量
	GetUserExp(ctx context.Context, in *GetUserExpReq, opts ...grpc.CallOption) (*GetUserExpResp, error)
	// AddUserExp 增加用户经验,不支持批量
	AddUserExp(ctx context.Context, in *AddUserExpReq, opts ...grpc.CallOption) (*AddUserExpResp, error)
}

UserExpClient is the client API for UserExp service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewUserExpClient

func NewUserExpClient(cc *grpc.ClientConn) UserExpClient

type UserExpServer

type UserExpServer interface {
	// GetUserExpMulti 获取用户经验与等级信息,支持批量
	GetUserExp(context.Context, *GetUserExpReq) (*GetUserExpResp, error)
	// AddUserExp 增加用户经验,不支持批量
	AddUserExp(context.Context, *AddUserExpReq) (*AddUserExpResp, error)
}

UserExpServer is the server API for UserExp service.

type UserLevelInfo

type UserLevelInfo struct {
	// 当前用户等级
	Level int64 `protobuf:"varint,1,opt,name=level,proto3" json:"level"`
	// 下一等级
	NextLevel int64 `protobuf:"varint,2,opt,name=nextLevel,proto3" json:"nextLevel"`
	// 当前等级对应的经验
	UserExpLeft int64 `protobuf:"varint,3,opt,name=userExpLeft,proto3" json:"userExpLeft"`
	// 下一等级对应的经验
	UserExpRight int64 `protobuf:"varint,4,opt,name=userExpRight,proto3" json:"userExpRight"`
	// 用户当前经验
	UserExp int64 `protobuf:"varint,5,opt,name=userExp,proto3" json:"userExp"`
	// 升级到下一等级对应的经验
	UserExpNextLevel int64 `protobuf:"varint,6,opt,name=userExpNextLevel,proto3" json:"userExpNextLevel"`
	// 当前等级颜色
	Color int64 `protobuf:"varint,7,opt,name=color,proto3" json:"color"`
	// 下一等级左侧对应的经验
	UserExpNextLeft int64 `protobuf:"varint,8,opt,name=userExpNextLeft,proto3" json:"userExpNextLeft"`
	// 下一等级右侧对应的经验
	UserExpNextRight     int64    `protobuf:"varint,9,opt,name=userExpNextRight,proto3" json:"userExpNextRight"`
	IsLevelTop           int64    `protobuf:"varint,10,opt,name=isLevelTop,proto3" json:"isLevelTop"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserLevelInfo) Descriptor

func (*UserLevelInfo) Descriptor() ([]byte, []int)

func (*UserLevelInfo) GetColor

func (m *UserLevelInfo) GetColor() int64

func (*UserLevelInfo) GetIsLevelTop

func (m *UserLevelInfo) GetIsLevelTop() int64

func (*UserLevelInfo) GetLevel

func (m *UserLevelInfo) GetLevel() int64

func (*UserLevelInfo) GetNextLevel

func (m *UserLevelInfo) GetNextLevel() int64

func (*UserLevelInfo) GetUserExp

func (m *UserLevelInfo) GetUserExp() int64

func (*UserLevelInfo) GetUserExpLeft

func (m *UserLevelInfo) GetUserExpLeft() int64

func (*UserLevelInfo) GetUserExpNextLeft

func (m *UserLevelInfo) GetUserExpNextLeft() int64

func (*UserLevelInfo) GetUserExpNextLevel

func (m *UserLevelInfo) GetUserExpNextLevel() int64

func (*UserLevelInfo) GetUserExpNextRight

func (m *UserLevelInfo) GetUserExpNextRight() int64

func (*UserLevelInfo) GetUserExpRight

func (m *UserLevelInfo) GetUserExpRight() int64

func (*UserLevelInfo) Marshal

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

func (*UserLevelInfo) MarshalTo

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

func (*UserLevelInfo) ProtoMessage

func (*UserLevelInfo) ProtoMessage()

func (*UserLevelInfo) Reset

func (m *UserLevelInfo) Reset()

func (*UserLevelInfo) Size

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

func (*UserLevelInfo) String

func (m *UserLevelInfo) String() string

func (*UserLevelInfo) Unmarshal

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

func (*UserLevelInfo) XXX_DiscardUnknown

func (m *UserLevelInfo) XXX_DiscardUnknown()

func (*UserLevelInfo) XXX_Marshal

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

func (*UserLevelInfo) XXX_Merge

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

func (*UserLevelInfo) XXX_Size

func (m *UserLevelInfo) XXX_Size() int

func (*UserLevelInfo) XXX_Unmarshal

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

type Vip

type Vip interface {
	// Info 返回用户vip信息
	Info(ctx context.Context, req *UidReq) (resp *InfoReply, err error)

	// Buy 购买月费/年费姥爷
	Buy(ctx context.Context, req *BuyReq) (resp *BuyReply, err error)
}

type VipClient

type VipClient interface {
	// Info 返回用户vip信息
	Info(ctx context.Context, in *UidReq, opts ...grpc.CallOption) (*InfoReply, error)
	// Buy 购买月费/年费姥爷
	Buy(ctx context.Context, in *BuyReq, opts ...grpc.CallOption) (*BuyReply, error)
}

VipClient is the client API for Vip service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewVipClient

func NewVipClient(cc *grpc.ClientConn) VipClient

type VipServer

type VipServer interface {
	// Info 返回用户vip信息
	Info(context.Context, *UidReq) (*InfoReply, error)
	// Buy 购买月费/年费姥爷
	Buy(context.Context, *BuyReq) (*BuyReply, error)
}

VipServer is the server API for Vip service.

Jump to

Keyboard shortcuts

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