Documentation ¶
Overview ¶
Package v1 is a generated liverpc stub package. This code was generated with go-common/app/tool/liverpc/protoc-gen-liverpc v0.1.
It is generated from these files:
v1/BannerMng.proto v1/Banner.proto v1/RoomNews.proto
Index ¶
- Variables
- type Banner
- type BannerGetNewBannerReq
- func (*BannerGetNewBannerReq) Descriptor() ([]byte, []int)
- func (m *BannerGetNewBannerReq) GetBuild() int64
- func (m *BannerGetNewBannerReq) GetPlatform() int64
- func (m *BannerGetNewBannerReq) GetPosition() int64
- func (m *BannerGetNewBannerReq) GetUserDevice() string
- func (m *BannerGetNewBannerReq) GetUserPlatform() string
- func (m *BannerGetNewBannerReq) Marshal() (dAtA []byte, err error)
- func (m *BannerGetNewBannerReq) MarshalTo(dAtA []byte) (int, error)
- func (*BannerGetNewBannerReq) ProtoMessage()
- func (m *BannerGetNewBannerReq) Reset()
- func (m *BannerGetNewBannerReq) Size() (n int)
- func (m *BannerGetNewBannerReq) String() string
- func (m *BannerGetNewBannerReq) Unmarshal(dAtA []byte) error
- func (m *BannerGetNewBannerReq) XXX_DiscardUnknown()
- func (m *BannerGetNewBannerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BannerGetNewBannerReq) XXX_Merge(src proto.Message)
- func (m *BannerGetNewBannerReq) XXX_Size() int
- func (m *BannerGetNewBannerReq) XXX_Unmarshal(b []byte) error
- type BannerGetNewBannerResp
- func (*BannerGetNewBannerResp) Descriptor() ([]byte, []int)
- func (m *BannerGetNewBannerResp) GetCode() int64
- func (m *BannerGetNewBannerResp) GetData() []*BannerGetNewBannerResp_NewBanner
- func (m *BannerGetNewBannerResp) GetMsg() string
- func (m *BannerGetNewBannerResp) Marshal() (dAtA []byte, err error)
- func (m *BannerGetNewBannerResp) MarshalTo(dAtA []byte) (int, error)
- func (*BannerGetNewBannerResp) ProtoMessage()
- func (m *BannerGetNewBannerResp) Reset()
- func (m *BannerGetNewBannerResp) Size() (n int)
- func (m *BannerGetNewBannerResp) String() string
- func (m *BannerGetNewBannerResp) Unmarshal(dAtA []byte) error
- func (m *BannerGetNewBannerResp) XXX_DiscardUnknown()
- func (m *BannerGetNewBannerResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BannerGetNewBannerResp) XXX_Merge(src proto.Message)
- func (m *BannerGetNewBannerResp) XXX_Size() int
- func (m *BannerGetNewBannerResp) XXX_Unmarshal(b []byte) error
- type BannerGetNewBannerResp_NewBanner
- func (*BannerGetNewBannerResp_NewBanner) Descriptor() ([]byte, []int)
- func (m *BannerGetNewBannerResp_NewBanner) GetId() string
- func (m *BannerGetNewBannerResp_NewBanner) GetImg() string
- func (m *BannerGetNewBannerResp_NewBanner) GetLink() string
- func (m *BannerGetNewBannerResp_NewBanner) GetPic() string
- func (m *BannerGetNewBannerResp_NewBanner) GetPosition() string
- func (m *BannerGetNewBannerResp_NewBanner) GetRemark() string
- func (m *BannerGetNewBannerResp_NewBanner) GetSortNum() string
- func (m *BannerGetNewBannerResp_NewBanner) GetTitle() string
- func (m *BannerGetNewBannerResp_NewBanner) Marshal() (dAtA []byte, err error)
- func (m *BannerGetNewBannerResp_NewBanner) MarshalTo(dAtA []byte) (int, error)
- func (*BannerGetNewBannerResp_NewBanner) ProtoMessage()
- func (m *BannerGetNewBannerResp_NewBanner) Reset()
- func (m *BannerGetNewBannerResp_NewBanner) Size() (n int)
- func (m *BannerGetNewBannerResp_NewBanner) String() string
- func (m *BannerGetNewBannerResp_NewBanner) Unmarshal(dAtA []byte) error
- func (m *BannerGetNewBannerResp_NewBanner) XXX_DiscardUnknown()
- func (m *BannerGetNewBannerResp_NewBanner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BannerGetNewBannerResp_NewBanner) XXX_Merge(src proto.Message)
- func (m *BannerGetNewBannerResp_NewBanner) XXX_Size() int
- func (m *BannerGetNewBannerResp_NewBanner) XXX_Unmarshal(b []byte) error
- type BannerMng
- type BannerMngGetNewBannerReq
- func (*BannerMngGetNewBannerReq) Descriptor() ([]byte, []int)
- func (m *BannerMngGetNewBannerReq) GetBuild() int64
- func (m *BannerMngGetNewBannerReq) GetPlatform() int64
- func (m *BannerMngGetNewBannerReq) GetPosition() int64
- func (m *BannerMngGetNewBannerReq) GetReturnBuilds() int64
- func (m *BannerMngGetNewBannerReq) GetUserDevice() string
- func (m *BannerMngGetNewBannerReq) GetUserPlatform() string
- func (m *BannerMngGetNewBannerReq) Marshal() (dAtA []byte, err error)
- func (m *BannerMngGetNewBannerReq) MarshalTo(dAtA []byte) (int, error)
- func (*BannerMngGetNewBannerReq) ProtoMessage()
- func (m *BannerMngGetNewBannerReq) Reset()
- func (m *BannerMngGetNewBannerReq) Size() (n int)
- func (m *BannerMngGetNewBannerReq) String() string
- func (m *BannerMngGetNewBannerReq) Unmarshal(dAtA []byte) error
- func (m *BannerMngGetNewBannerReq) XXX_DiscardUnknown()
- func (m *BannerMngGetNewBannerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BannerMngGetNewBannerReq) XXX_Merge(src proto.Message)
- func (m *BannerMngGetNewBannerReq) XXX_Size() int
- func (m *BannerMngGetNewBannerReq) XXX_Unmarshal(b []byte) error
- type BannerMngGetNewBannerResp
- func (*BannerMngGetNewBannerResp) Descriptor() ([]byte, []int)
- func (m *BannerMngGetNewBannerResp) GetCode() int64
- func (m *BannerMngGetNewBannerResp) GetData() []*BannerMngGetNewBannerResp_NewBanner
- func (m *BannerMngGetNewBannerResp) GetMsg() string
- func (m *BannerMngGetNewBannerResp) Marshal() (dAtA []byte, err error)
- func (m *BannerMngGetNewBannerResp) MarshalTo(dAtA []byte) (int, error)
- func (*BannerMngGetNewBannerResp) ProtoMessage()
- func (m *BannerMngGetNewBannerResp) Reset()
- func (m *BannerMngGetNewBannerResp) Size() (n int)
- func (m *BannerMngGetNewBannerResp) String() string
- func (m *BannerMngGetNewBannerResp) Unmarshal(dAtA []byte) error
- func (m *BannerMngGetNewBannerResp) XXX_DiscardUnknown()
- func (m *BannerMngGetNewBannerResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BannerMngGetNewBannerResp) XXX_Merge(src proto.Message)
- func (m *BannerMngGetNewBannerResp) XXX_Size() int
- func (m *BannerMngGetNewBannerResp) XXX_Unmarshal(b []byte) error
- type BannerMngGetNewBannerResp_NewBanner
- func (*BannerMngGetNewBannerResp_NewBanner) Descriptor() ([]byte, []int)
- func (m *BannerMngGetNewBannerResp_NewBanner) GetId() string
- func (m *BannerMngGetNewBannerResp_NewBanner) GetImg() string
- func (m *BannerMngGetNewBannerResp_NewBanner) GetLink() string
- func (m *BannerMngGetNewBannerResp_NewBanner) GetPic() string
- func (m *BannerMngGetNewBannerResp_NewBanner) GetPosition() string
- func (m *BannerMngGetNewBannerResp_NewBanner) GetRemark() string
- func (m *BannerMngGetNewBannerResp_NewBanner) GetSortNum() string
- func (m *BannerMngGetNewBannerResp_NewBanner) GetTitle() string
- func (m *BannerMngGetNewBannerResp_NewBanner) Marshal() (dAtA []byte, err error)
- func (m *BannerMngGetNewBannerResp_NewBanner) MarshalTo(dAtA []byte) (int, error)
- func (*BannerMngGetNewBannerResp_NewBanner) ProtoMessage()
- func (m *BannerMngGetNewBannerResp_NewBanner) Reset()
- func (m *BannerMngGetNewBannerResp_NewBanner) Size() (n int)
- func (m *BannerMngGetNewBannerResp_NewBanner) String() string
- func (m *BannerMngGetNewBannerResp_NewBanner) Unmarshal(dAtA []byte) error
- func (m *BannerMngGetNewBannerResp_NewBanner) XXX_DiscardUnknown()
- func (m *BannerMngGetNewBannerResp_NewBanner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BannerMngGetNewBannerResp_NewBanner) XXX_Merge(src proto.Message)
- func (m *BannerMngGetNewBannerResp_NewBanner) XXX_Size() int
- func (m *BannerMngGetNewBannerResp_NewBanner) XXX_Unmarshal(b []byte) error
- type RoomNews
- type RoomNewsMultiGetReq
- func (*RoomNewsMultiGetReq) Descriptor() ([]byte, []int)
- func (m *RoomNewsMultiGetReq) GetIsDecoded() int64
- func (m *RoomNewsMultiGetReq) GetRoomIds() []int64
- func (m *RoomNewsMultiGetReq) Marshal() (dAtA []byte, err error)
- func (m *RoomNewsMultiGetReq) MarshalTo(dAtA []byte) (int, error)
- func (*RoomNewsMultiGetReq) ProtoMessage()
- func (m *RoomNewsMultiGetReq) Reset()
- func (m *RoomNewsMultiGetReq) Size() (n int)
- func (m *RoomNewsMultiGetReq) String() string
- func (m *RoomNewsMultiGetReq) Unmarshal(dAtA []byte) error
- func (m *RoomNewsMultiGetReq) XXX_DiscardUnknown()
- func (m *RoomNewsMultiGetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RoomNewsMultiGetReq) XXX_Merge(src proto.Message)
- func (m *RoomNewsMultiGetReq) XXX_Size() int
- func (m *RoomNewsMultiGetReq) XXX_Unmarshal(b []byte) error
- type RoomNewsMultiGetResp
- func (*RoomNewsMultiGetResp) Descriptor() ([]byte, []int)
- func (m *RoomNewsMultiGetResp) GetCode() int64
- func (m *RoomNewsMultiGetResp) GetData() []*RoomNewsMultiGetResp_Data
- func (m *RoomNewsMultiGetResp) GetMsg() string
- func (m *RoomNewsMultiGetResp) Marshal() (dAtA []byte, err error)
- func (m *RoomNewsMultiGetResp) MarshalTo(dAtA []byte) (int, error)
- func (*RoomNewsMultiGetResp) ProtoMessage()
- func (m *RoomNewsMultiGetResp) Reset()
- func (m *RoomNewsMultiGetResp) Size() (n int)
- func (m *RoomNewsMultiGetResp) String() string
- func (m *RoomNewsMultiGetResp) Unmarshal(dAtA []byte) error
- func (m *RoomNewsMultiGetResp) XXX_DiscardUnknown()
- func (m *RoomNewsMultiGetResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RoomNewsMultiGetResp) XXX_Merge(src proto.Message)
- func (m *RoomNewsMultiGetResp) XXX_Size() int
- func (m *RoomNewsMultiGetResp) XXX_Unmarshal(b []byte) error
- type RoomNewsMultiGetResp_Data
- func (*RoomNewsMultiGetResp_Data) Descriptor() ([]byte, []int)
- func (m *RoomNewsMultiGetResp_Data) GetCtime() string
- func (m *RoomNewsMultiGetResp_Data) GetNewsContent() string
- func (m *RoomNewsMultiGetResp_Data) GetRoomid() string
- func (m *RoomNewsMultiGetResp_Data) GetUid() string
- func (m *RoomNewsMultiGetResp_Data) Marshal() (dAtA []byte, err error)
- func (m *RoomNewsMultiGetResp_Data) MarshalTo(dAtA []byte) (int, error)
- func (*RoomNewsMultiGetResp_Data) ProtoMessage()
- func (m *RoomNewsMultiGetResp_Data) Reset()
- func (m *RoomNewsMultiGetResp_Data) Size() (n int)
- func (m *RoomNewsMultiGetResp_Data) String() string
- func (m *RoomNewsMultiGetResp_Data) Unmarshal(dAtA []byte) error
- func (m *RoomNewsMultiGetResp_Data) XXX_DiscardUnknown()
- func (m *RoomNewsMultiGetResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RoomNewsMultiGetResp_Data) XXX_Merge(src proto.Message)
- func (m *RoomNewsMultiGetResp_Data) XXX_Size() int
- func (m *RoomNewsMultiGetResp_Data) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthBanner = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBanner = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthBannerMng = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBannerMng = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthRoomNews = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRoomNews = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Banner ¶
type Banner interface { // * 获取新后台配置的banner // GetNewBanner(context.Context, *BannerGetNewBannerReq) (*BannerGetNewBannerResp, error) }
func NewBannerRpcClient ¶
NewBannerRpcClient creates a Rpc client that implements the Banner interface. It communicates using Rpc and can be configured with a custom HTTPClient.
type BannerGetNewBannerReq ¶
type BannerGetNewBannerReq struct { // 业务id,首页为0,web主站hove为1 Platform int64 `protobuf:"varint,1,opt,name=platform,proto3" json:"platform"` // 第几帧,0表示取全部 Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position"` // 平台 UserPlatform string `protobuf:"bytes,3,opt,name=userPlatform,proto3" json:"userPlatform"` // 设备 UserDevice string `protobuf:"bytes,4,opt,name=userDevice,proto3" json:"userDevice"` // 版本号 Build int64 `protobuf:"varint,5,opt,name=build,proto3" json:"build"` }
func (*BannerGetNewBannerReq) Descriptor ¶
func (*BannerGetNewBannerReq) Descriptor() ([]byte, []int)
func (*BannerGetNewBannerReq) GetBuild ¶
func (m *BannerGetNewBannerReq) GetBuild() int64
func (*BannerGetNewBannerReq) GetPlatform ¶
func (m *BannerGetNewBannerReq) GetPlatform() int64
func (*BannerGetNewBannerReq) GetPosition ¶
func (m *BannerGetNewBannerReq) GetPosition() int64
func (*BannerGetNewBannerReq) GetUserDevice ¶
func (m *BannerGetNewBannerReq) GetUserDevice() string
func (*BannerGetNewBannerReq) GetUserPlatform ¶
func (m *BannerGetNewBannerReq) GetUserPlatform() string
func (*BannerGetNewBannerReq) Marshal ¶
func (m *BannerGetNewBannerReq) Marshal() (dAtA []byte, err error)
func (*BannerGetNewBannerReq) MarshalTo ¶
func (m *BannerGetNewBannerReq) MarshalTo(dAtA []byte) (int, error)
func (*BannerGetNewBannerReq) ProtoMessage ¶
func (*BannerGetNewBannerReq) ProtoMessage()
func (*BannerGetNewBannerReq) Reset ¶
func (m *BannerGetNewBannerReq) Reset()
func (*BannerGetNewBannerReq) Size ¶
func (m *BannerGetNewBannerReq) Size() (n int)
func (*BannerGetNewBannerReq) String ¶
func (m *BannerGetNewBannerReq) String() string
func (*BannerGetNewBannerReq) Unmarshal ¶
func (m *BannerGetNewBannerReq) Unmarshal(dAtA []byte) error
func (*BannerGetNewBannerReq) XXX_DiscardUnknown ¶
func (m *BannerGetNewBannerReq) XXX_DiscardUnknown()
func (*BannerGetNewBannerReq) XXX_Marshal ¶
func (m *BannerGetNewBannerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BannerGetNewBannerReq) XXX_Merge ¶
func (dst *BannerGetNewBannerReq) XXX_Merge(src proto.Message)
func (*BannerGetNewBannerReq) XXX_Size ¶
func (m *BannerGetNewBannerReq) XXX_Size() int
func (*BannerGetNewBannerReq) XXX_Unmarshal ¶
func (m *BannerGetNewBannerReq) XXX_Unmarshal(b []byte) error
type BannerGetNewBannerResp ¶
type BannerGetNewBannerResp struct { // code Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"` // msg Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"` // Data []*BannerGetNewBannerResp_NewBanner `protobuf:"bytes,3,rep,name=data" json:"data"` }
func (*BannerGetNewBannerResp) Descriptor ¶
func (*BannerGetNewBannerResp) Descriptor() ([]byte, []int)
func (*BannerGetNewBannerResp) GetCode ¶
func (m *BannerGetNewBannerResp) GetCode() int64
func (*BannerGetNewBannerResp) GetData ¶
func (m *BannerGetNewBannerResp) GetData() []*BannerGetNewBannerResp_NewBanner
func (*BannerGetNewBannerResp) GetMsg ¶
func (m *BannerGetNewBannerResp) GetMsg() string
func (*BannerGetNewBannerResp) Marshal ¶
func (m *BannerGetNewBannerResp) Marshal() (dAtA []byte, err error)
func (*BannerGetNewBannerResp) MarshalTo ¶
func (m *BannerGetNewBannerResp) MarshalTo(dAtA []byte) (int, error)
func (*BannerGetNewBannerResp) ProtoMessage ¶
func (*BannerGetNewBannerResp) ProtoMessage()
func (*BannerGetNewBannerResp) Reset ¶
func (m *BannerGetNewBannerResp) Reset()
func (*BannerGetNewBannerResp) Size ¶
func (m *BannerGetNewBannerResp) Size() (n int)
func (*BannerGetNewBannerResp) String ¶
func (m *BannerGetNewBannerResp) String() string
func (*BannerGetNewBannerResp) Unmarshal ¶
func (m *BannerGetNewBannerResp) Unmarshal(dAtA []byte) error
func (*BannerGetNewBannerResp) XXX_DiscardUnknown ¶
func (m *BannerGetNewBannerResp) XXX_DiscardUnknown()
func (*BannerGetNewBannerResp) XXX_Marshal ¶
func (m *BannerGetNewBannerResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BannerGetNewBannerResp) XXX_Merge ¶
func (dst *BannerGetNewBannerResp) XXX_Merge(src proto.Message)
func (*BannerGetNewBannerResp) XXX_Size ¶
func (m *BannerGetNewBannerResp) XXX_Size() int
func (*BannerGetNewBannerResp) XXX_Unmarshal ¶
func (m *BannerGetNewBannerResp) XXX_Unmarshal(b []byte) error
type BannerGetNewBannerResp_NewBanner ¶
type BannerGetNewBannerResp_NewBanner struct { // banner id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // 图片地址 Pic string `protobuf:"bytes,2,opt,name=pic,proto3" json:"pic"` // 图片地址 Img string `protobuf:"bytes,3,opt,name=img,proto3" json:"img"` // 跳转链接 Link string `protobuf:"bytes,4,opt,name=link,proto3" json:"link"` // 标题 Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title"` // 第几帧 Position string `protobuf:"bytes,6,opt,name=position,proto3" json:"position"` // 权重 SortNum string `protobuf:"bytes,7,opt,name=sort_num,json=sortNum,proto3" json:"sort_num"` // 注释 Remark string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark"` }
func (*BannerGetNewBannerResp_NewBanner) Descriptor ¶
func (*BannerGetNewBannerResp_NewBanner) Descriptor() ([]byte, []int)
func (*BannerGetNewBannerResp_NewBanner) GetId ¶
func (m *BannerGetNewBannerResp_NewBanner) GetId() string
func (*BannerGetNewBannerResp_NewBanner) GetImg ¶
func (m *BannerGetNewBannerResp_NewBanner) GetImg() string
func (*BannerGetNewBannerResp_NewBanner) GetLink ¶
func (m *BannerGetNewBannerResp_NewBanner) GetLink() string
func (*BannerGetNewBannerResp_NewBanner) GetPic ¶
func (m *BannerGetNewBannerResp_NewBanner) GetPic() string
func (*BannerGetNewBannerResp_NewBanner) GetPosition ¶
func (m *BannerGetNewBannerResp_NewBanner) GetPosition() string
func (*BannerGetNewBannerResp_NewBanner) GetRemark ¶
func (m *BannerGetNewBannerResp_NewBanner) GetRemark() string
func (*BannerGetNewBannerResp_NewBanner) GetSortNum ¶
func (m *BannerGetNewBannerResp_NewBanner) GetSortNum() string
func (*BannerGetNewBannerResp_NewBanner) GetTitle ¶
func (m *BannerGetNewBannerResp_NewBanner) GetTitle() string
func (*BannerGetNewBannerResp_NewBanner) Marshal ¶
func (m *BannerGetNewBannerResp_NewBanner) Marshal() (dAtA []byte, err error)
func (*BannerGetNewBannerResp_NewBanner) MarshalTo ¶
func (m *BannerGetNewBannerResp_NewBanner) MarshalTo(dAtA []byte) (int, error)
func (*BannerGetNewBannerResp_NewBanner) ProtoMessage ¶
func (*BannerGetNewBannerResp_NewBanner) ProtoMessage()
func (*BannerGetNewBannerResp_NewBanner) Reset ¶
func (m *BannerGetNewBannerResp_NewBanner) Reset()
func (*BannerGetNewBannerResp_NewBanner) Size ¶
func (m *BannerGetNewBannerResp_NewBanner) Size() (n int)
func (*BannerGetNewBannerResp_NewBanner) String ¶
func (m *BannerGetNewBannerResp_NewBanner) String() string
func (*BannerGetNewBannerResp_NewBanner) Unmarshal ¶
func (m *BannerGetNewBannerResp_NewBanner) Unmarshal(dAtA []byte) error
func (*BannerGetNewBannerResp_NewBanner) XXX_DiscardUnknown ¶
func (m *BannerGetNewBannerResp_NewBanner) XXX_DiscardUnknown()
func (*BannerGetNewBannerResp_NewBanner) XXX_Marshal ¶
func (m *BannerGetNewBannerResp_NewBanner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BannerGetNewBannerResp_NewBanner) XXX_Merge ¶
func (dst *BannerGetNewBannerResp_NewBanner) XXX_Merge(src proto.Message)
func (*BannerGetNewBannerResp_NewBanner) XXX_Size ¶
func (m *BannerGetNewBannerResp_NewBanner) XXX_Size() int
func (*BannerGetNewBannerResp_NewBanner) XXX_Unmarshal ¶
func (m *BannerGetNewBannerResp_NewBanner) XXX_Unmarshal(b []byte) error
type BannerMng ¶
type BannerMng interface { // * 获取新后台配置的banner // GetNewBanner(context.Context, *BannerMngGetNewBannerReq) (*BannerMngGetNewBannerResp, error) }
func NewBannerMngRpcClient ¶
NewBannerMngRpcClient creates a Rpc client that implements the BannerMng interface. It communicates using Rpc and can be configured with a custom HTTPClient.
type BannerMngGetNewBannerReq ¶
type BannerMngGetNewBannerReq struct { // 业务id,首页为0,web主站hove为1 Platform int64 `protobuf:"varint,1,opt,name=platform,proto3" json:"platform"` // 第几帧,0表示取全部 Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position"` // 平台 UserPlatform string `protobuf:"bytes,3,opt,name=userPlatform,proto3" json:"userPlatform"` // 设备 UserDevice string `protobuf:"bytes,4,opt,name=userDevice,proto3" json:"userDevice"` // 版本号 Build int64 `protobuf:"varint,5,opt,name=build,proto3" json:"build"` // 是否返回所有版本配置:是,则不论build传的值,全返回banner和版本配置 ReturnBuilds int64 `protobuf:"varint,6,opt,name=returnBuilds,proto3" json:"returnBuilds"` }
func (*BannerMngGetNewBannerReq) Descriptor ¶
func (*BannerMngGetNewBannerReq) Descriptor() ([]byte, []int)
func (*BannerMngGetNewBannerReq) GetBuild ¶
func (m *BannerMngGetNewBannerReq) GetBuild() int64
func (*BannerMngGetNewBannerReq) GetPlatform ¶
func (m *BannerMngGetNewBannerReq) GetPlatform() int64
func (*BannerMngGetNewBannerReq) GetPosition ¶
func (m *BannerMngGetNewBannerReq) GetPosition() int64
func (*BannerMngGetNewBannerReq) GetReturnBuilds ¶
func (m *BannerMngGetNewBannerReq) GetReturnBuilds() int64
func (*BannerMngGetNewBannerReq) GetUserDevice ¶
func (m *BannerMngGetNewBannerReq) GetUserDevice() string
func (*BannerMngGetNewBannerReq) GetUserPlatform ¶
func (m *BannerMngGetNewBannerReq) GetUserPlatform() string
func (*BannerMngGetNewBannerReq) Marshal ¶
func (m *BannerMngGetNewBannerReq) Marshal() (dAtA []byte, err error)
func (*BannerMngGetNewBannerReq) MarshalTo ¶
func (m *BannerMngGetNewBannerReq) MarshalTo(dAtA []byte) (int, error)
func (*BannerMngGetNewBannerReq) ProtoMessage ¶
func (*BannerMngGetNewBannerReq) ProtoMessage()
func (*BannerMngGetNewBannerReq) Reset ¶
func (m *BannerMngGetNewBannerReq) Reset()
func (*BannerMngGetNewBannerReq) Size ¶
func (m *BannerMngGetNewBannerReq) Size() (n int)
func (*BannerMngGetNewBannerReq) String ¶
func (m *BannerMngGetNewBannerReq) String() string
func (*BannerMngGetNewBannerReq) Unmarshal ¶
func (m *BannerMngGetNewBannerReq) Unmarshal(dAtA []byte) error
func (*BannerMngGetNewBannerReq) XXX_DiscardUnknown ¶
func (m *BannerMngGetNewBannerReq) XXX_DiscardUnknown()
func (*BannerMngGetNewBannerReq) XXX_Marshal ¶
func (m *BannerMngGetNewBannerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BannerMngGetNewBannerReq) XXX_Merge ¶
func (dst *BannerMngGetNewBannerReq) XXX_Merge(src proto.Message)
func (*BannerMngGetNewBannerReq) XXX_Size ¶
func (m *BannerMngGetNewBannerReq) XXX_Size() int
func (*BannerMngGetNewBannerReq) XXX_Unmarshal ¶
func (m *BannerMngGetNewBannerReq) XXX_Unmarshal(b []byte) error
type BannerMngGetNewBannerResp ¶
type BannerMngGetNewBannerResp struct { // code Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"` // msg Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"` // Data []*BannerMngGetNewBannerResp_NewBanner `protobuf:"bytes,3,rep,name=data" json:"data"` }
func (*BannerMngGetNewBannerResp) Descriptor ¶
func (*BannerMngGetNewBannerResp) Descriptor() ([]byte, []int)
func (*BannerMngGetNewBannerResp) GetCode ¶
func (m *BannerMngGetNewBannerResp) GetCode() int64
func (*BannerMngGetNewBannerResp) GetData ¶
func (m *BannerMngGetNewBannerResp) GetData() []*BannerMngGetNewBannerResp_NewBanner
func (*BannerMngGetNewBannerResp) GetMsg ¶
func (m *BannerMngGetNewBannerResp) GetMsg() string
func (*BannerMngGetNewBannerResp) Marshal ¶
func (m *BannerMngGetNewBannerResp) Marshal() (dAtA []byte, err error)
func (*BannerMngGetNewBannerResp) MarshalTo ¶
func (m *BannerMngGetNewBannerResp) MarshalTo(dAtA []byte) (int, error)
func (*BannerMngGetNewBannerResp) ProtoMessage ¶
func (*BannerMngGetNewBannerResp) ProtoMessage()
func (*BannerMngGetNewBannerResp) Reset ¶
func (m *BannerMngGetNewBannerResp) Reset()
func (*BannerMngGetNewBannerResp) Size ¶
func (m *BannerMngGetNewBannerResp) Size() (n int)
func (*BannerMngGetNewBannerResp) String ¶
func (m *BannerMngGetNewBannerResp) String() string
func (*BannerMngGetNewBannerResp) Unmarshal ¶
func (m *BannerMngGetNewBannerResp) Unmarshal(dAtA []byte) error
func (*BannerMngGetNewBannerResp) XXX_DiscardUnknown ¶
func (m *BannerMngGetNewBannerResp) XXX_DiscardUnknown()
func (*BannerMngGetNewBannerResp) XXX_Marshal ¶
func (m *BannerMngGetNewBannerResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BannerMngGetNewBannerResp) XXX_Merge ¶
func (dst *BannerMngGetNewBannerResp) XXX_Merge(src proto.Message)
func (*BannerMngGetNewBannerResp) XXX_Size ¶
func (m *BannerMngGetNewBannerResp) XXX_Size() int
func (*BannerMngGetNewBannerResp) XXX_Unmarshal ¶
func (m *BannerMngGetNewBannerResp) XXX_Unmarshal(b []byte) error
type BannerMngGetNewBannerResp_NewBanner ¶
type BannerMngGetNewBannerResp_NewBanner struct { // banner id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // 图片地址 Pic string `protobuf:"bytes,2,opt,name=pic,proto3" json:"pic"` // 图片地址 Img string `protobuf:"bytes,3,opt,name=img,proto3" json:"img"` // 跳转链接 Link string `protobuf:"bytes,4,opt,name=link,proto3" json:"link"` // 标题 Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title"` // 第几帧 Position string `protobuf:"bytes,6,opt,name=position,proto3" json:"position"` // 权重 SortNum string `protobuf:"bytes,7,opt,name=sort_num,json=sortNum,proto3" json:"sort_num"` // 注释 Remark string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark"` }
func (*BannerMngGetNewBannerResp_NewBanner) Descriptor ¶
func (*BannerMngGetNewBannerResp_NewBanner) Descriptor() ([]byte, []int)
func (*BannerMngGetNewBannerResp_NewBanner) GetId ¶
func (m *BannerMngGetNewBannerResp_NewBanner) GetId() string
func (*BannerMngGetNewBannerResp_NewBanner) GetImg ¶
func (m *BannerMngGetNewBannerResp_NewBanner) GetImg() string
func (*BannerMngGetNewBannerResp_NewBanner) GetLink ¶
func (m *BannerMngGetNewBannerResp_NewBanner) GetLink() string
func (*BannerMngGetNewBannerResp_NewBanner) GetPic ¶
func (m *BannerMngGetNewBannerResp_NewBanner) GetPic() string
func (*BannerMngGetNewBannerResp_NewBanner) GetPosition ¶
func (m *BannerMngGetNewBannerResp_NewBanner) GetPosition() string
func (*BannerMngGetNewBannerResp_NewBanner) GetRemark ¶
func (m *BannerMngGetNewBannerResp_NewBanner) GetRemark() string
func (*BannerMngGetNewBannerResp_NewBanner) GetSortNum ¶
func (m *BannerMngGetNewBannerResp_NewBanner) GetSortNum() string
func (*BannerMngGetNewBannerResp_NewBanner) GetTitle ¶
func (m *BannerMngGetNewBannerResp_NewBanner) GetTitle() string
func (*BannerMngGetNewBannerResp_NewBanner) Marshal ¶
func (m *BannerMngGetNewBannerResp_NewBanner) Marshal() (dAtA []byte, err error)
func (*BannerMngGetNewBannerResp_NewBanner) MarshalTo ¶
func (m *BannerMngGetNewBannerResp_NewBanner) MarshalTo(dAtA []byte) (int, error)
func (*BannerMngGetNewBannerResp_NewBanner) ProtoMessage ¶
func (*BannerMngGetNewBannerResp_NewBanner) ProtoMessage()
func (*BannerMngGetNewBannerResp_NewBanner) Reset ¶
func (m *BannerMngGetNewBannerResp_NewBanner) Reset()
func (*BannerMngGetNewBannerResp_NewBanner) Size ¶
func (m *BannerMngGetNewBannerResp_NewBanner) Size() (n int)
func (*BannerMngGetNewBannerResp_NewBanner) String ¶
func (m *BannerMngGetNewBannerResp_NewBanner) String() string
func (*BannerMngGetNewBannerResp_NewBanner) Unmarshal ¶
func (m *BannerMngGetNewBannerResp_NewBanner) Unmarshal(dAtA []byte) error
func (*BannerMngGetNewBannerResp_NewBanner) XXX_DiscardUnknown ¶
func (m *BannerMngGetNewBannerResp_NewBanner) XXX_DiscardUnknown()
func (*BannerMngGetNewBannerResp_NewBanner) XXX_Marshal ¶
func (m *BannerMngGetNewBannerResp_NewBanner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BannerMngGetNewBannerResp_NewBanner) XXX_Merge ¶
func (dst *BannerMngGetNewBannerResp_NewBanner) XXX_Merge(src proto.Message)
func (*BannerMngGetNewBannerResp_NewBanner) XXX_Size ¶
func (m *BannerMngGetNewBannerResp_NewBanner) XXX_Size() int
func (*BannerMngGetNewBannerResp_NewBanner) XXX_Unmarshal ¶
func (m *BannerMngGetNewBannerResp_NewBanner) XXX_Unmarshal(b []byte) error
type RoomNews ¶
type RoomNews interface { // * 批量获取直播公告 // MultiGet(context.Context, *RoomNewsMultiGetReq) (*RoomNewsMultiGetResp, error) }
func NewRoomNewsRpcClient ¶
NewRoomNewsRpcClient creates a Rpc client that implements the RoomNews interface. It communicates using Rpc and can be configured with a custom HTTPClient.
type RoomNewsMultiGetReq ¶
type RoomNewsMultiGetReq struct { // 房间id组成的数组 RoomIds []int64 `protobuf:"varint,1,rep,packed,name=room_ids,json=roomIds" json:"room_ids"` // 是否需要转码1是0否,默认0 IsDecoded int64 `protobuf:"varint,2,opt,name=is_decoded,json=isDecoded,proto3" json:"is_decoded"` }
func (*RoomNewsMultiGetReq) Descriptor ¶
func (*RoomNewsMultiGetReq) Descriptor() ([]byte, []int)
func (*RoomNewsMultiGetReq) GetIsDecoded ¶
func (m *RoomNewsMultiGetReq) GetIsDecoded() int64
func (*RoomNewsMultiGetReq) GetRoomIds ¶
func (m *RoomNewsMultiGetReq) GetRoomIds() []int64
func (*RoomNewsMultiGetReq) Marshal ¶
func (m *RoomNewsMultiGetReq) Marshal() (dAtA []byte, err error)
func (*RoomNewsMultiGetReq) MarshalTo ¶
func (m *RoomNewsMultiGetReq) MarshalTo(dAtA []byte) (int, error)
func (*RoomNewsMultiGetReq) ProtoMessage ¶
func (*RoomNewsMultiGetReq) ProtoMessage()
func (*RoomNewsMultiGetReq) Reset ¶
func (m *RoomNewsMultiGetReq) Reset()
func (*RoomNewsMultiGetReq) Size ¶
func (m *RoomNewsMultiGetReq) Size() (n int)
func (*RoomNewsMultiGetReq) String ¶
func (m *RoomNewsMultiGetReq) String() string
func (*RoomNewsMultiGetReq) Unmarshal ¶
func (m *RoomNewsMultiGetReq) Unmarshal(dAtA []byte) error
func (*RoomNewsMultiGetReq) XXX_DiscardUnknown ¶
func (m *RoomNewsMultiGetReq) XXX_DiscardUnknown()
func (*RoomNewsMultiGetReq) XXX_Marshal ¶
func (m *RoomNewsMultiGetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoomNewsMultiGetReq) XXX_Merge ¶
func (dst *RoomNewsMultiGetReq) XXX_Merge(src proto.Message)
func (*RoomNewsMultiGetReq) XXX_Size ¶
func (m *RoomNewsMultiGetReq) XXX_Size() int
func (*RoomNewsMultiGetReq) XXX_Unmarshal ¶
func (m *RoomNewsMultiGetReq) XXX_Unmarshal(b []byte) error
type RoomNewsMultiGetResp ¶
type RoomNewsMultiGetResp struct { // 返回code Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"` // 返回msg Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"` // Data []*RoomNewsMultiGetResp_Data `protobuf:"bytes,3,rep,name=data" json:"data"` }
func (*RoomNewsMultiGetResp) Descriptor ¶
func (*RoomNewsMultiGetResp) Descriptor() ([]byte, []int)
func (*RoomNewsMultiGetResp) GetCode ¶
func (m *RoomNewsMultiGetResp) GetCode() int64
func (*RoomNewsMultiGetResp) GetData ¶
func (m *RoomNewsMultiGetResp) GetData() []*RoomNewsMultiGetResp_Data
func (*RoomNewsMultiGetResp) GetMsg ¶
func (m *RoomNewsMultiGetResp) GetMsg() string
func (*RoomNewsMultiGetResp) Marshal ¶
func (m *RoomNewsMultiGetResp) Marshal() (dAtA []byte, err error)
func (*RoomNewsMultiGetResp) MarshalTo ¶
func (m *RoomNewsMultiGetResp) MarshalTo(dAtA []byte) (int, error)
func (*RoomNewsMultiGetResp) ProtoMessage ¶
func (*RoomNewsMultiGetResp) ProtoMessage()
func (*RoomNewsMultiGetResp) Reset ¶
func (m *RoomNewsMultiGetResp) Reset()
func (*RoomNewsMultiGetResp) Size ¶
func (m *RoomNewsMultiGetResp) Size() (n int)
func (*RoomNewsMultiGetResp) String ¶
func (m *RoomNewsMultiGetResp) String() string
func (*RoomNewsMultiGetResp) Unmarshal ¶
func (m *RoomNewsMultiGetResp) Unmarshal(dAtA []byte) error
func (*RoomNewsMultiGetResp) XXX_DiscardUnknown ¶
func (m *RoomNewsMultiGetResp) XXX_DiscardUnknown()
func (*RoomNewsMultiGetResp) XXX_Marshal ¶
func (m *RoomNewsMultiGetResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoomNewsMultiGetResp) XXX_Merge ¶
func (dst *RoomNewsMultiGetResp) XXX_Merge(src proto.Message)
func (*RoomNewsMultiGetResp) XXX_Size ¶
func (m *RoomNewsMultiGetResp) XXX_Size() int
func (*RoomNewsMultiGetResp) XXX_Unmarshal ¶
func (m *RoomNewsMultiGetResp) XXX_Unmarshal(b []byte) error
type RoomNewsMultiGetResp_Data ¶
type RoomNewsMultiGetResp_Data struct { // 房间id Roomid string `protobuf:"bytes,1,opt,name=roomid,proto3" json:"roomid"` // 主播id Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"` // 公告内容 NewsContent string `protobuf:"bytes,3,opt,name=news_content,json=newsContent,proto3" json:"news_content"` // 更新时间 Ctime string `protobuf:"bytes,4,opt,name=ctime,proto3" json:"ctime"` }
func (*RoomNewsMultiGetResp_Data) Descriptor ¶
func (*RoomNewsMultiGetResp_Data) Descriptor() ([]byte, []int)
func (*RoomNewsMultiGetResp_Data) GetCtime ¶
func (m *RoomNewsMultiGetResp_Data) GetCtime() string
func (*RoomNewsMultiGetResp_Data) GetNewsContent ¶
func (m *RoomNewsMultiGetResp_Data) GetNewsContent() string
func (*RoomNewsMultiGetResp_Data) GetRoomid ¶
func (m *RoomNewsMultiGetResp_Data) GetRoomid() string
func (*RoomNewsMultiGetResp_Data) GetUid ¶
func (m *RoomNewsMultiGetResp_Data) GetUid() string
func (*RoomNewsMultiGetResp_Data) Marshal ¶
func (m *RoomNewsMultiGetResp_Data) Marshal() (dAtA []byte, err error)
func (*RoomNewsMultiGetResp_Data) MarshalTo ¶
func (m *RoomNewsMultiGetResp_Data) MarshalTo(dAtA []byte) (int, error)
func (*RoomNewsMultiGetResp_Data) ProtoMessage ¶
func (*RoomNewsMultiGetResp_Data) ProtoMessage()
func (*RoomNewsMultiGetResp_Data) Reset ¶
func (m *RoomNewsMultiGetResp_Data) Reset()
func (*RoomNewsMultiGetResp_Data) Size ¶
func (m *RoomNewsMultiGetResp_Data) Size() (n int)
func (*RoomNewsMultiGetResp_Data) String ¶
func (m *RoomNewsMultiGetResp_Data) String() string
func (*RoomNewsMultiGetResp_Data) Unmarshal ¶
func (m *RoomNewsMultiGetResp_Data) Unmarshal(dAtA []byte) error
func (*RoomNewsMultiGetResp_Data) XXX_DiscardUnknown ¶
func (m *RoomNewsMultiGetResp_Data) XXX_DiscardUnknown()
func (*RoomNewsMultiGetResp_Data) XXX_Marshal ¶
func (m *RoomNewsMultiGetResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoomNewsMultiGetResp_Data) XXX_Merge ¶
func (dst *RoomNewsMultiGetResp_Data) XXX_Merge(src proto.Message)
func (*RoomNewsMultiGetResp_Data) XXX_Size ¶
func (m *RoomNewsMultiGetResp_Data) XXX_Size() int
func (*RoomNewsMultiGetResp_Data) XXX_Unmarshal ¶
func (m *RoomNewsMultiGetResp_Data) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.