Documentation ¶
Index ¶
- Variables
- func NewThingsPasterEndpoints() []*api.Endpoint
- func RegisterThingsPasterHandler(s server.Server, hdlr ThingsPasterHandler, opts ...server.HandlerOption) error
- type GetLivePasterInfoReq
- func (*GetLivePasterInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetLivePasterInfoReq) GetLiveId() int64
- func (*GetLivePasterInfoReq) ProtoMessage()
- func (x *GetLivePasterInfoReq) ProtoReflect() protoreflect.Message
- func (x *GetLivePasterInfoReq) Reset()
- func (x *GetLivePasterInfoReq) String() string
- type GetLivePasterInfoRes
- func (*GetLivePasterInfoRes) Descriptor() ([]byte, []int)deprecated
- func (x *GetLivePasterInfoRes) GetAnchorId() int64
- func (x *GetLivePasterInfoRes) GetInfo() string
- func (x *GetLivePasterInfoRes) GetLiveId() int64
- func (x *GetLivePasterInfoRes) GetPasterId() int64
- func (*GetLivePasterInfoRes) ProtoMessage()
- func (x *GetLivePasterInfoRes) ProtoReflect() protoreflect.Message
- func (x *GetLivePasterInfoRes) Reset()
- func (x *GetLivePasterInfoRes) String() string
- type GetPasterReq
- type GetPasterRes
- type Paster
- func (*Paster) Descriptor() ([]byte, []int)deprecated
- func (x *Paster) GetPasterIcon() string
- func (x *Paster) GetPasterId() int64
- func (x *Paster) GetPasterType() int32
- func (x *Paster) GetPasterUrl() string
- func (*Paster) ProtoMessage()
- func (x *Paster) ProtoReflect() protoreflect.Message
- func (x *Paster) Reset()
- func (x *Paster) String() string
- type PastersReq
- func (*PastersReq) Descriptor() ([]byte, []int)deprecated
- func (x *PastersReq) GetPage() int64
- func (x *PastersReq) GetSize() int64
- func (x *PastersReq) GetType() int32
- func (*PastersReq) ProtoMessage()
- func (x *PastersReq) ProtoReflect() protoreflect.Message
- func (x *PastersReq) Reset()
- func (x *PastersReq) String() string
- type PastersRes
- func (*PastersRes) Descriptor() ([]byte, []int)deprecated
- func (x *PastersRes) GetList() []*Paster
- func (x *PastersRes) GetPage() int64
- func (x *PastersRes) GetSize() int64
- func (x *PastersRes) GetTotal() int64
- func (*PastersRes) ProtoMessage()
- func (x *PastersRes) ProtoReflect() protoreflect.Message
- func (x *PastersRes) Reset()
- func (x *PastersRes) String() string
- type SetLivePasterInfoReq
- func (*SetLivePasterInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetLivePasterInfoReq) GetAnchorId() int64
- func (x *SetLivePasterInfoReq) GetInfo() string
- func (x *SetLivePasterInfoReq) GetLiveId() int64
- func (x *SetLivePasterInfoReq) GetPasterId() int64
- func (*SetLivePasterInfoReq) ProtoMessage()
- func (x *SetLivePasterInfoReq) ProtoReflect() protoreflect.Message
- func (x *SetLivePasterInfoReq) Reset()
- func (x *SetLivePasterInfoReq) String() string
- type ThingsPasterHandler
- type ThingsPasterService
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_paster_paster_proto protoreflect.FileDescriptor
Functions ¶
func RegisterThingsPasterHandler ¶
func RegisterThingsPasterHandler(s server.Server, hdlr ThingsPasterHandler, opts ...server.HandlerOption) error
Types ¶
type GetLivePasterInfoReq ¶
type GetLivePasterInfoReq struct { LiveId int64 `protobuf:"varint,1,opt,name=live_id,json=liveId,proto3" json:"live_id"` // contains filtered or unexported fields }
func (*GetLivePasterInfoReq) Descriptor
deprecated
func (*GetLivePasterInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use GetLivePasterInfoReq.ProtoReflect.Descriptor instead.
func (*GetLivePasterInfoReq) GetLiveId ¶
func (x *GetLivePasterInfoReq) GetLiveId() int64
func (*GetLivePasterInfoReq) ProtoMessage ¶
func (*GetLivePasterInfoReq) ProtoMessage()
func (*GetLivePasterInfoReq) ProtoReflect ¶
func (x *GetLivePasterInfoReq) ProtoReflect() protoreflect.Message
func (*GetLivePasterInfoReq) Reset ¶
func (x *GetLivePasterInfoReq) Reset()
func (*GetLivePasterInfoReq) String ¶
func (x *GetLivePasterInfoReq) String() string
type GetLivePasterInfoRes ¶
type GetLivePasterInfoRes struct { LiveId int64 `protobuf:"varint,1,opt,name=live_id,json=liveId,proto3" json:"live_id"` AnchorId int64 `protobuf:"varint,2,opt,name=anchor_id,json=anchorId,proto3" json:"anchor_id"` PasterId int64 `protobuf:"varint,3,opt,name=paster_id,json=pasterId,proto3" json:"paster_id"` Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info"` // contains filtered or unexported fields }
func (*GetLivePasterInfoRes) Descriptor
deprecated
func (*GetLivePasterInfoRes) Descriptor() ([]byte, []int)
Deprecated: Use GetLivePasterInfoRes.ProtoReflect.Descriptor instead.
func (*GetLivePasterInfoRes) GetAnchorId ¶
func (x *GetLivePasterInfoRes) GetAnchorId() int64
func (*GetLivePasterInfoRes) GetInfo ¶
func (x *GetLivePasterInfoRes) GetInfo() string
func (*GetLivePasterInfoRes) GetLiveId ¶
func (x *GetLivePasterInfoRes) GetLiveId() int64
func (*GetLivePasterInfoRes) GetPasterId ¶
func (x *GetLivePasterInfoRes) GetPasterId() int64
func (*GetLivePasterInfoRes) ProtoMessage ¶
func (*GetLivePasterInfoRes) ProtoMessage()
func (*GetLivePasterInfoRes) ProtoReflect ¶
func (x *GetLivePasterInfoRes) ProtoReflect() protoreflect.Message
func (*GetLivePasterInfoRes) Reset ¶
func (x *GetLivePasterInfoRes) Reset()
func (*GetLivePasterInfoRes) String ¶
func (x *GetLivePasterInfoRes) String() string
type GetPasterReq ¶
type GetPasterReq struct { PasterId int64 `protobuf:"varint,1,opt,name=paster_id,json=pasterId,proto3" json:"paster_id"` // contains filtered or unexported fields }
func (*GetPasterReq) Descriptor
deprecated
func (*GetPasterReq) Descriptor() ([]byte, []int)
Deprecated: Use GetPasterReq.ProtoReflect.Descriptor instead.
func (*GetPasterReq) GetPasterId ¶
func (x *GetPasterReq) GetPasterId() int64
func (*GetPasterReq) ProtoMessage ¶
func (*GetPasterReq) ProtoMessage()
func (*GetPasterReq) ProtoReflect ¶
func (x *GetPasterReq) ProtoReflect() protoreflect.Message
func (*GetPasterReq) Reset ¶
func (x *GetPasterReq) Reset()
func (*GetPasterReq) String ¶
func (x *GetPasterReq) String() string
type GetPasterRes ¶
type GetPasterRes struct { Paster *Paster `protobuf:"bytes,1,opt,name=paster,proto3" json:"paster"` // contains filtered or unexported fields }
func (*GetPasterRes) Descriptor
deprecated
func (*GetPasterRes) Descriptor() ([]byte, []int)
Deprecated: Use GetPasterRes.ProtoReflect.Descriptor instead.
func (*GetPasterRes) GetPaster ¶
func (x *GetPasterRes) GetPaster() *Paster
func (*GetPasterRes) ProtoMessage ¶
func (*GetPasterRes) ProtoMessage()
func (*GetPasterRes) ProtoReflect ¶
func (x *GetPasterRes) ProtoReflect() protoreflect.Message
func (*GetPasterRes) Reset ¶
func (x *GetPasterRes) Reset()
func (*GetPasterRes) String ¶
func (x *GetPasterRes) String() string
type Paster ¶
type Paster struct { PasterId int64 `protobuf:"varint,1,opt,name=paster_id,json=pasterId,proto3" json:"paster_id"` PasterIcon string `protobuf:"bytes,3,opt,name=paster_icon,json=pasterIcon,proto3" json:"paster_icon"` PasterUrl string `protobuf:"bytes,4,opt,name=paster_url,json=pasterUrl,proto3" json:"paster_url"` PasterType int32 `protobuf:"varint,5,opt,name=paster_type,json=pasterType,proto3" json:"paster_type"` // contains filtered or unexported fields }
func (*Paster) Descriptor
deprecated
func (*Paster) GetPasterIcon ¶
func (*Paster) GetPasterId ¶
func (*Paster) GetPasterType ¶
func (*Paster) GetPasterUrl ¶
func (*Paster) ProtoMessage ¶
func (*Paster) ProtoMessage()
func (*Paster) ProtoReflect ¶
func (x *Paster) ProtoReflect() protoreflect.Message
type PastersReq ¶
type PastersReq struct { Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type"` // 贴纸类型 1普通贴纸/2文字贴纸 Page int64 `protobuf:"varint,40,opt,name=page,proto3" json:"page"` // 页码 Size int64 `protobuf:"varint,41,opt,name=size,proto3" json:"size"` // 单页记录数 // contains filtered or unexported fields }
func (*PastersReq) Descriptor
deprecated
func (*PastersReq) Descriptor() ([]byte, []int)
Deprecated: Use PastersReq.ProtoReflect.Descriptor instead.
func (*PastersReq) GetPage ¶
func (x *PastersReq) GetPage() int64
func (*PastersReq) GetSize ¶
func (x *PastersReq) GetSize() int64
func (*PastersReq) GetType ¶
func (x *PastersReq) GetType() int32
func (*PastersReq) ProtoMessage ¶
func (*PastersReq) ProtoMessage()
func (*PastersReq) ProtoReflect ¶
func (x *PastersReq) ProtoReflect() protoreflect.Message
func (*PastersReq) Reset ¶
func (x *PastersReq) Reset()
func (*PastersReq) String ¶
func (x *PastersReq) String() string
type PastersRes ¶
type PastersRes struct { List []*Paster `protobuf:"bytes,1,rep,name=list,proto3" json:"list"` Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"` // 当前页码 Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size"` // 单页条数 Total int64 `protobuf:"varint,4,opt,name=total,proto3" json:"total"` // 符合条件的总记录数量 // contains filtered or unexported fields }
func (*PastersRes) Descriptor
deprecated
func (*PastersRes) Descriptor() ([]byte, []int)
Deprecated: Use PastersRes.ProtoReflect.Descriptor instead.
func (*PastersRes) GetList ¶
func (x *PastersRes) GetList() []*Paster
func (*PastersRes) GetPage ¶
func (x *PastersRes) GetPage() int64
func (*PastersRes) GetSize ¶
func (x *PastersRes) GetSize() int64
func (*PastersRes) GetTotal ¶
func (x *PastersRes) GetTotal() int64
func (*PastersRes) ProtoMessage ¶
func (*PastersRes) ProtoMessage()
func (*PastersRes) ProtoReflect ¶
func (x *PastersRes) ProtoReflect() protoreflect.Message
func (*PastersRes) Reset ¶
func (x *PastersRes) Reset()
func (*PastersRes) String ¶
func (x *PastersRes) String() string
type SetLivePasterInfoReq ¶
type SetLivePasterInfoReq struct { LiveId int64 `protobuf:"varint,1,opt,name=live_id,json=liveId,proto3" json:"live_id"` AnchorId int64 `protobuf:"varint,2,opt,name=anchor_id,json=anchorId,proto3" json:"anchor_id"` PasterId int64 `protobuf:"varint,3,opt,name=paster_id,json=pasterId,proto3" json:"paster_id"` Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info"` // contains filtered or unexported fields }
func (*SetLivePasterInfoReq) Descriptor
deprecated
func (*SetLivePasterInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use SetLivePasterInfoReq.ProtoReflect.Descriptor instead.
func (*SetLivePasterInfoReq) GetAnchorId ¶
func (x *SetLivePasterInfoReq) GetAnchorId() int64
func (*SetLivePasterInfoReq) GetInfo ¶
func (x *SetLivePasterInfoReq) GetInfo() string
func (*SetLivePasterInfoReq) GetLiveId ¶
func (x *SetLivePasterInfoReq) GetLiveId() int64
func (*SetLivePasterInfoReq) GetPasterId ¶
func (x *SetLivePasterInfoReq) GetPasterId() int64
func (*SetLivePasterInfoReq) ProtoMessage ¶
func (*SetLivePasterInfoReq) ProtoMessage()
func (*SetLivePasterInfoReq) ProtoReflect ¶
func (x *SetLivePasterInfoReq) ProtoReflect() protoreflect.Message
func (*SetLivePasterInfoReq) Reset ¶
func (x *SetLivePasterInfoReq) Reset()
func (*SetLivePasterInfoReq) String ¶
func (x *SetLivePasterInfoReq) String() string
type ThingsPasterHandler ¶
type ThingsPasterHandler interface { Pasters(context.Context, *PastersReq, *PastersRes) error GetPaster(context.Context, *GetPasterReq, *GetPasterRes) error SetLivePasterInfo(context.Context, *SetLivePasterInfoReq, *emptypb.Empty) error GetLivePasterInfo(context.Context, *GetLivePasterInfoReq, *GetLivePasterInfoRes) error }
type ThingsPasterService ¶
type ThingsPasterService interface { Pasters(ctx context.Context, in *PastersReq, opts ...client.CallOption) (*PastersRes, error) GetPaster(ctx context.Context, in *GetPasterReq, opts ...client.CallOption) (*GetPasterRes, error) SetLivePasterInfo(ctx context.Context, in *SetLivePasterInfoReq, opts ...client.CallOption) (*emptypb.Empty, error) GetLivePasterInfo(ctx context.Context, in *GetLivePasterInfoReq, opts ...client.CallOption) (*GetLivePasterInfoRes, error) }
func NewThingsPasterService ¶
func NewThingsPasterService(name string, c client.Client) ThingsPasterService
Click to show internal directories.
Click to hide internal directories.