Documentation ¶
Index ¶
- Variables
- type DouyinPublishActionRequest
- func (*DouyinPublishActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinPublishActionRequest) GetData() []byte
- func (x *DouyinPublishActionRequest) GetTitle() string
- func (x *DouyinPublishActionRequest) GetToken() string
- func (*DouyinPublishActionRequest) ProtoMessage()
- func (x *DouyinPublishActionRequest) ProtoReflect() protoreflect.Message
- func (x *DouyinPublishActionRequest) Reset()
- func (x *DouyinPublishActionRequest) String() string
- type DouyinPublishActionResponse
- func (*DouyinPublishActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinPublishActionResponse) GetStatusCode() int32
- func (x *DouyinPublishActionResponse) GetStatusMsg() string
- func (*DouyinPublishActionResponse) ProtoMessage()
- func (x *DouyinPublishActionResponse) ProtoReflect() protoreflect.Message
- func (x *DouyinPublishActionResponse) Reset()
- func (x *DouyinPublishActionResponse) String() string
- type DouyinPublishListRequest
- func (*DouyinPublishListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinPublishListRequest) GetToken() string
- func (x *DouyinPublishListRequest) GetUserId() int64
- func (*DouyinPublishListRequest) ProtoMessage()
- func (x *DouyinPublishListRequest) ProtoReflect() protoreflect.Message
- func (x *DouyinPublishListRequest) Reset()
- func (x *DouyinPublishListRequest) String() string
- type DouyinPublishListResponse
- func (*DouyinPublishListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinPublishListResponse) GetStatusCode() int32
- func (x *DouyinPublishListResponse) GetStatusMsg() string
- func (x *DouyinPublishListResponse) GetVideoList() []*feed.Video
- func (*DouyinPublishListResponse) ProtoMessage()
- func (x *DouyinPublishListResponse) ProtoReflect() protoreflect.Message
- func (x *DouyinPublishListResponse) Reset()
- func (x *DouyinPublishListResponse) String() string
- type PublishSrv
Constants ¶
This section is empty.
Variables ¶
View Source
var File_publish_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DouyinPublishActionRequest ¶
type DouyinPublishActionRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // 用户鉴权token Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // 视频数据 Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` // 视频标题 // contains filtered or unexported fields }
func (*DouyinPublishActionRequest) Descriptor
deprecated
func (*DouyinPublishActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DouyinPublishActionRequest.ProtoReflect.Descriptor instead.
func (*DouyinPublishActionRequest) GetData ¶
func (x *DouyinPublishActionRequest) GetData() []byte
func (*DouyinPublishActionRequest) GetTitle ¶
func (x *DouyinPublishActionRequest) GetTitle() string
func (*DouyinPublishActionRequest) GetToken ¶
func (x *DouyinPublishActionRequest) GetToken() string
func (*DouyinPublishActionRequest) ProtoMessage ¶
func (*DouyinPublishActionRequest) ProtoMessage()
func (*DouyinPublishActionRequest) ProtoReflect ¶
func (x *DouyinPublishActionRequest) ProtoReflect() protoreflect.Message
func (*DouyinPublishActionRequest) Reset ¶
func (x *DouyinPublishActionRequest) Reset()
func (*DouyinPublishActionRequest) String ¶
func (x *DouyinPublishActionRequest) String() string
type DouyinPublishActionResponse ¶
type DouyinPublishActionResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` // 状态码,0-成功,其他值-失败 StatusMsg *string `protobuf:"bytes,2,opt,name=status_msg,json=statusMsg,proto3,oneof" json:"status_msg,omitempty"` // 返回状态描述 // contains filtered or unexported fields }
func (*DouyinPublishActionResponse) Descriptor
deprecated
func (*DouyinPublishActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinPublishActionResponse.ProtoReflect.Descriptor instead.
func (*DouyinPublishActionResponse) GetStatusCode ¶
func (x *DouyinPublishActionResponse) GetStatusCode() int32
func (*DouyinPublishActionResponse) GetStatusMsg ¶
func (x *DouyinPublishActionResponse) GetStatusMsg() string
func (*DouyinPublishActionResponse) ProtoMessage ¶
func (*DouyinPublishActionResponse) ProtoMessage()
func (*DouyinPublishActionResponse) ProtoReflect ¶
func (x *DouyinPublishActionResponse) ProtoReflect() protoreflect.Message
func (*DouyinPublishActionResponse) Reset ¶
func (x *DouyinPublishActionResponse) Reset()
func (*DouyinPublishActionResponse) String ¶
func (x *DouyinPublishActionResponse) String() string
type DouyinPublishListRequest ¶
type DouyinPublishListRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // 用户鉴权token // contains filtered or unexported fields }
func (*DouyinPublishListRequest) Descriptor
deprecated
func (*DouyinPublishListRequest) Descriptor() ([]byte, []int)
Deprecated: Use DouyinPublishListRequest.ProtoReflect.Descriptor instead.
func (*DouyinPublishListRequest) GetToken ¶
func (x *DouyinPublishListRequest) GetToken() string
func (*DouyinPublishListRequest) GetUserId ¶
func (x *DouyinPublishListRequest) GetUserId() int64
func (*DouyinPublishListRequest) ProtoMessage ¶
func (*DouyinPublishListRequest) ProtoMessage()
func (*DouyinPublishListRequest) ProtoReflect ¶
func (x *DouyinPublishListRequest) ProtoReflect() protoreflect.Message
func (*DouyinPublishListRequest) Reset ¶
func (x *DouyinPublishListRequest) Reset()
func (*DouyinPublishListRequest) String ¶
func (x *DouyinPublishListRequest) String() string
type DouyinPublishListResponse ¶
type DouyinPublishListResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` // 状态码,0-成功,其他值-失败 StatusMsg *string `protobuf:"bytes,2,opt,name=status_msg,json=statusMsg,proto3,oneof" json:"status_msg,omitempty"` // 返回状态描述 VideoList []*feed.Video `protobuf:"bytes,3,rep,name=video_list,json=videoList,proto3" json:"video_list,omitempty"` // 用户发布的视频列表 // contains filtered or unexported fields }
func (*DouyinPublishListResponse) Descriptor
deprecated
func (*DouyinPublishListResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinPublishListResponse.ProtoReflect.Descriptor instead.
func (*DouyinPublishListResponse) GetStatusCode ¶
func (x *DouyinPublishListResponse) GetStatusCode() int32
func (*DouyinPublishListResponse) GetStatusMsg ¶
func (x *DouyinPublishListResponse) GetStatusMsg() string
func (*DouyinPublishListResponse) GetVideoList ¶
func (x *DouyinPublishListResponse) GetVideoList() []*feed.Video
func (*DouyinPublishListResponse) ProtoMessage ¶
func (*DouyinPublishListResponse) ProtoMessage()
func (*DouyinPublishListResponse) ProtoReflect ¶
func (x *DouyinPublishListResponse) ProtoReflect() protoreflect.Message
func (*DouyinPublishListResponse) Reset ¶
func (x *DouyinPublishListResponse) Reset()
func (*DouyinPublishListResponse) String ¶
func (x *DouyinPublishListResponse) String() string
type PublishSrv ¶
type PublishSrv interface { PublishAction(ctx context.Context, req *DouyinPublishActionRequest) (res *DouyinPublishActionResponse, err error) PublishList(ctx context.Context, req *DouyinPublishListRequest) (res *DouyinPublishListResponse, err error) }
Click to show internal directories.
Click to hide internal directories.