Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterArticleRpcServiceServer(s grpc.ServiceRegistrar, srv ArticleRpcServiceServer)
- type ArticleRpcServiceClient
- type ArticleRpcServiceServer
- type CreateArticleReq
- func (*CreateArticleReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateArticleReq) GetAppID() string
- func (x *CreateArticleReq) GetAppName() string
- func (x *CreateArticleReq) GetAppPath() string
- func (x *CreateArticleReq) GetAppType() int64
- func (x *CreateArticleReq) GetAuthor() string
- func (x *CreateArticleReq) GetContent() string
- func (x *CreateArticleReq) GetCover() string
- func (x *CreateArticleReq) GetGhId() string
- func (x *CreateArticleReq) GetIntroduce() string
- func (x *CreateArticleReq) GetLabelIds() []uint32
- func (x *CreateArticleReq) GetLevel() int64
- func (x *CreateArticleReq) GetPublic() int64
- func (x *CreateArticleReq) GetReleaseAt() int64
- func (x *CreateArticleReq) GetReviewID() int64
- func (x *CreateArticleReq) GetSort() int64
- func (x *CreateArticleReq) GetStatus() int64
- func (x *CreateArticleReq) GetSubtitle() string
- func (x *CreateArticleReq) GetTitle() string
- func (x *CreateArticleReq) GetType() int64
- func (x *CreateArticleReq) GetUrl() string
- func (x *CreateArticleReq) GetWriteID() int64
- func (*CreateArticleReq) ProtoMessage()
- func (x *CreateArticleReq) ProtoReflect() protoreflect.Message
- func (x *CreateArticleReq) Reset()
- func (x *CreateArticleReq) String() string
- type CreateArticleResp
- func (*CreateArticleResp) Descriptor() ([]byte, []int)deprecated
- func (x *CreateArticleResp) GetCode() int32
- func (x *CreateArticleResp) GetData() *ModelArticle
- func (x *CreateArticleResp) GetMsg() string
- func (x *CreateArticleResp) GetPath() string
- func (x *CreateArticleResp) GetRequestID() string
- func (*CreateArticleResp) ProtoMessage()
- func (x *CreateArticleResp) ProtoReflect() protoreflect.Message
- func (x *CreateArticleResp) Reset()
- func (x *CreateArticleResp) String() string
- type DeleteIdsReq
- type DeleteReq
- type ModelArticle
- func (*ModelArticle) Descriptor() ([]byte, []int)deprecated
- func (x *ModelArticle) GetAppID() string
- func (x *ModelArticle) GetAppName() string
- func (x *ModelArticle) GetAppPath() string
- func (x *ModelArticle) GetAppType() int64
- func (x *ModelArticle) GetAuthor() string
- func (x *ModelArticle) GetContent() string
- func (x *ModelArticle) GetCover() string
- func (x *ModelArticle) GetCreatedAt() int64
- func (x *ModelArticle) GetDeletedAt() int64
- func (x *ModelArticle) GetGhId() string
- func (x *ModelArticle) GetId() uint32
- func (x *ModelArticle) GetIntroduce() string
- func (x *ModelArticle) GetLabels() []*ModelLabel
- func (x *ModelArticle) GetLevel() int64
- func (x *ModelArticle) GetPublic() int64
- func (x *ModelArticle) GetReleaseAt() int64
- func (x *ModelArticle) GetReviewID() int64
- func (x *ModelArticle) GetSort() int64
- func (x *ModelArticle) GetStatus() int64
- func (x *ModelArticle) GetSubtitle() string
- func (x *ModelArticle) GetTenantId() int64
- func (x *ModelArticle) GetTitle() string
- func (x *ModelArticle) GetType() int64
- func (x *ModelArticle) GetUpdatedAt() int64
- func (x *ModelArticle) GetUrl() string
- func (x *ModelArticle) GetWriteID() int64
- func (*ModelArticle) ProtoMessage()
- func (x *ModelArticle) ProtoReflect() protoreflect.Message
- func (x *ModelArticle) Reset()
- func (x *ModelArticle) String() string
- type ModelLabel
- func (*ModelLabel) Descriptor() ([]byte, []int)deprecated
- func (x *ModelLabel) GetCreatedAt() int64
- func (x *ModelLabel) GetId() uint32
- func (x *ModelLabel) GetLevel() int64
- func (x *ModelLabel) GetName() string
- func (x *ModelLabel) GetSort() int64
- func (x *ModelLabel) GetStatus() int64
- func (x *ModelLabel) GetUpdatedAt() int64
- func (*ModelLabel) ProtoMessage()
- func (x *ModelLabel) ProtoReflect() protoreflect.Message
- func (x *ModelLabel) Reset()
- func (x *ModelLabel) String() string
- type QueryArticleListReq
- func (*QueryArticleListReq) Descriptor() ([]byte, []int)deprecated
- func (x *QueryArticleListReq) GetEndTime() int64
- func (x *QueryArticleListReq) GetKeyword() string
- func (x *QueryArticleListReq) GetPage() int32
- func (x *QueryArticleListReq) GetPageSize() int32
- func (x *QueryArticleListReq) GetStartTime() int64
- func (*QueryArticleListReq) ProtoMessage()
- func (x *QueryArticleListReq) ProtoReflect() protoreflect.Message
- func (x *QueryArticleListReq) Reset()
- func (x *QueryArticleListReq) String() string
- type QueryArticleListResp
- func (*QueryArticleListResp) Descriptor() ([]byte, []int)deprecated
- func (x *QueryArticleListResp) GetCode() int32
- func (x *QueryArticleListResp) GetData() *QueryArticleListRespData
- func (x *QueryArticleListResp) GetMsg() string
- func (x *QueryArticleListResp) GetPath() string
- func (x *QueryArticleListResp) GetRequestID() string
- func (*QueryArticleListResp) ProtoMessage()
- func (x *QueryArticleListResp) ProtoReflect() protoreflect.Message
- func (x *QueryArticleListResp) Reset()
- func (x *QueryArticleListResp) String() string
- type QueryArticleListRespData
- func (*QueryArticleListRespData) Descriptor() ([]byte, []int)deprecated
- func (x *QueryArticleListRespData) GetList() []*ModelArticle
- func (x *QueryArticleListRespData) GetPage() int32
- func (x *QueryArticleListRespData) GetPageSize() int32
- func (x *QueryArticleListRespData) GetTotal() int64
- func (*QueryArticleListRespData) ProtoMessage()
- func (x *QueryArticleListRespData) ProtoReflect() protoreflect.Message
- func (x *QueryArticleListRespData) Reset()
- func (x *QueryArticleListRespData) String() string
- type QueryArticleResp
- func (*QueryArticleResp) Descriptor() ([]byte, []int)deprecated
- func (x *QueryArticleResp) GetCode() int32
- func (x *QueryArticleResp) GetData() *ModelArticle
- func (x *QueryArticleResp) GetMsg() string
- func (x *QueryArticleResp) GetPath() string
- func (x *QueryArticleResp) GetRequestID() string
- func (*QueryArticleResp) ProtoMessage()
- func (x *QueryArticleResp) ProtoReflect() protoreflect.Message
- func (x *QueryArticleResp) Reset()
- func (x *QueryArticleResp) String() string
- type QueryReq
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetCode() int32
- func (x *Response) GetMsg() string
- func (x *Response) GetPath() string
- func (x *Response) GetRequestID() string
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type UnimplementedArticleRpcServiceServer
- func (UnimplementedArticleRpcServiceServer) BindArticleLabels(context.Context, *UpdateBindLabelsReq) (*Response, error)
- func (UnimplementedArticleRpcServiceServer) Create(context.Context, *CreateArticleReq) (*CreateArticleResp, error)
- func (UnimplementedArticleRpcServiceServer) Delete(context.Context, *DeleteReq) (*Response, error)
- func (UnimplementedArticleRpcServiceServer) DeleteIds(context.Context, *DeleteIdsReq) (*Response, error)
- func (UnimplementedArticleRpcServiceServer) Query(context.Context, *QueryReq) (*QueryArticleResp, error)
- func (UnimplementedArticleRpcServiceServer) QueryList(context.Context, *QueryArticleListReq) (*QueryArticleListResp, error)
- func (UnimplementedArticleRpcServiceServer) UnBindArticleLabels(context.Context, *UpdateBindLabelsReq) (*Response, error)
- func (UnimplementedArticleRpcServiceServer) Update(context.Context, *UpdateArticleReq) (*Response, error)
- func (UnimplementedArticleRpcServiceServer) UpdateStatus(context.Context, *UpdateStatusReq) (*Response, error)
- type UnsafeArticleRpcServiceServer
- type UpdateArticleReq
- func (*UpdateArticleReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateArticleReq) GetAppID() string
- func (x *UpdateArticleReq) GetAppName() string
- func (x *UpdateArticleReq) GetAppPath() string
- func (x *UpdateArticleReq) GetAppType() int64
- func (x *UpdateArticleReq) GetAuthor() string
- func (x *UpdateArticleReq) GetContent() string
- func (x *UpdateArticleReq) GetCover() string
- func (x *UpdateArticleReq) GetGhId() string
- func (x *UpdateArticleReq) GetId() uint32
- func (x *UpdateArticleReq) GetIntroduce() string
- func (x *UpdateArticleReq) GetLevel() int64
- func (x *UpdateArticleReq) GetPublic() int64
- func (x *UpdateArticleReq) GetReleaseAt() int64
- func (x *UpdateArticleReq) GetReviewID() int64
- func (x *UpdateArticleReq) GetSort() int64
- func (x *UpdateArticleReq) GetStatus() int64
- func (x *UpdateArticleReq) GetSubtitle() string
- func (x *UpdateArticleReq) GetTitle() string
- func (x *UpdateArticleReq) GetType() int64
- func (x *UpdateArticleReq) GetUrl() string
- func (x *UpdateArticleReq) GetWriteID() int64
- func (*UpdateArticleReq) ProtoMessage()
- func (x *UpdateArticleReq) ProtoReflect() protoreflect.Message
- func (x *UpdateArticleReq) Reset()
- func (x *UpdateArticleReq) String() string
- type UpdateBindLabelsReq
- func (*UpdateBindLabelsReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBindLabelsReq) GetId() uint32
- func (x *UpdateBindLabelsReq) GetLabelIds() []uint32
- func (*UpdateBindLabelsReq) ProtoMessage()
- func (x *UpdateBindLabelsReq) ProtoReflect() protoreflect.Message
- func (x *UpdateBindLabelsReq) Reset()
- func (x *UpdateBindLabelsReq) String() string
- type UpdateStatusReq
- func (*UpdateStatusReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStatusReq) GetId() uint32
- func (x *UpdateStatusReq) GetStatus() int64
- func (*UpdateStatusReq) ProtoMessage()
- func (x *UpdateStatusReq) ProtoReflect() protoreflect.Message
- func (x *UpdateStatusReq) Reset()
- func (x *UpdateStatusReq) String() string
Constants ¶
const ( ArticleRpcService_Create_FullMethodName = "/article.ArticleRpcService/Create" ArticleRpcService_Update_FullMethodName = "/article.ArticleRpcService/Update" ArticleRpcService_Delete_FullMethodName = "/article.ArticleRpcService/Delete" ArticleRpcService_DeleteIds_FullMethodName = "/article.ArticleRpcService/DeleteIds" ArticleRpcService_Query_FullMethodName = "/article.ArticleRpcService/Query" ArticleRpcService_QueryList_FullMethodName = "/article.ArticleRpcService/QueryList" ArticleRpcService_UpdateStatus_FullMethodName = "/article.ArticleRpcService/UpdateStatus" ArticleRpcService_BindArticleLabels_FullMethodName = "/article.ArticleRpcService/BindArticleLabels" ArticleRpcService_UnBindArticleLabels_FullMethodName = "/article.ArticleRpcService/UnBindArticleLabels" )
Variables ¶
var ArticleRpcService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "article.ArticleRpcService", HandlerType: (*ArticleRpcServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _ArticleRpcService_Create_Handler, }, { MethodName: "Update", Handler: _ArticleRpcService_Update_Handler, }, { MethodName: "Delete", Handler: _ArticleRpcService_Delete_Handler, }, { MethodName: "DeleteIds", Handler: _ArticleRpcService_DeleteIds_Handler, }, { MethodName: "Query", Handler: _ArticleRpcService_Query_Handler, }, { MethodName: "QueryList", Handler: _ArticleRpcService_QueryList_Handler, }, { MethodName: "UpdateStatus", Handler: _ArticleRpcService_UpdateStatus_Handler, }, { MethodName: "BindArticleLabels", Handler: _ArticleRpcService_BindArticleLabels_Handler, }, { MethodName: "UnBindArticleLabels", Handler: _ArticleRpcService_UnBindArticleLabels_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "article.proto", }
ArticleRpcService_ServiceDesc is the grpc.ServiceDesc for ArticleRpcService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_article_proto protoreflect.FileDescriptor
Functions ¶
func RegisterArticleRpcServiceServer ¶
func RegisterArticleRpcServiceServer(s grpc.ServiceRegistrar, srv ArticleRpcServiceServer)
Types ¶
type ArticleRpcServiceClient ¶
type ArticleRpcServiceClient interface { Create(ctx context.Context, in *CreateArticleReq, opts ...grpc.CallOption) (*CreateArticleResp, error) Update(ctx context.Context, in *UpdateArticleReq, opts ...grpc.CallOption) (*Response, error) Delete(ctx context.Context, in *DeleteReq, opts ...grpc.CallOption) (*Response, error) DeleteIds(ctx context.Context, in *DeleteIdsReq, opts ...grpc.CallOption) (*Response, error) Query(ctx context.Context, in *QueryReq, opts ...grpc.CallOption) (*QueryArticleResp, error) QueryList(ctx context.Context, in *QueryArticleListReq, opts ...grpc.CallOption) (*QueryArticleListResp, error) UpdateStatus(ctx context.Context, in *UpdateStatusReq, opts ...grpc.CallOption) (*Response, error) BindArticleLabels(ctx context.Context, in *UpdateBindLabelsReq, opts ...grpc.CallOption) (*Response, error) UnBindArticleLabels(ctx context.Context, in *UpdateBindLabelsReq, opts ...grpc.CallOption) (*Response, error) }
ArticleRpcServiceClient is the client API for ArticleRpcService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewArticleRpcServiceClient ¶
func NewArticleRpcServiceClient(cc grpc.ClientConnInterface) ArticleRpcServiceClient
type ArticleRpcServiceServer ¶
type ArticleRpcServiceServer interface { Create(context.Context, *CreateArticleReq) (*CreateArticleResp, error) Update(context.Context, *UpdateArticleReq) (*Response, error) Delete(context.Context, *DeleteReq) (*Response, error) DeleteIds(context.Context, *DeleteIdsReq) (*Response, error) Query(context.Context, *QueryReq) (*QueryArticleResp, error) QueryList(context.Context, *QueryArticleListReq) (*QueryArticleListResp, error) UpdateStatus(context.Context, *UpdateStatusReq) (*Response, error) BindArticleLabels(context.Context, *UpdateBindLabelsReq) (*Response, error) UnBindArticleLabels(context.Context, *UpdateBindLabelsReq) (*Response, error) // contains filtered or unexported methods }
ArticleRpcServiceServer is the server API for ArticleRpcService service. All implementations must embed UnimplementedArticleRpcServiceServer for forward compatibility
type CreateArticleReq ¶ added in v0.0.16
type CreateArticleReq struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"` Introduce string `protobuf:"bytes,3,opt,name=introduce,proto3" json:"introduce,omitempty"` Author string `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"` Cover string `protobuf:"bytes,5,opt,name=cover,proto3" json:"cover,omitempty"` Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` Type int64 `protobuf:"varint,7,opt,name=type,proto3" json:"type,omitempty"` Status int64 `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"` Public int64 `protobuf:"varint,9,opt,name=public,proto3" json:"public,omitempty"` Level int64 `protobuf:"varint,10,opt,name=level,proto3" json:"level,omitempty"` WriteID int64 `protobuf:"varint,11,opt,name=writeID,proto3" json:"writeID,omitempty"` ReviewID int64 `protobuf:"varint,12,opt,name=reviewID,proto3" json:"reviewID,omitempty"` Sort int64 `protobuf:"varint,13,opt,name=sort,proto3" json:"sort,omitempty"` ReleaseAt int64 `protobuf:"varint,14,opt,name=releaseAt,proto3" json:"releaseAt,omitempty"` Url string `protobuf:"bytes,15,opt,name=url,proto3" json:"url,omitempty"` AppType int64 `protobuf:"varint,16,opt,name=appType,proto3" json:"appType,omitempty"` AppID string `protobuf:"bytes,17,opt,name=appID,proto3" json:"appID,omitempty"` AppPath string `protobuf:"bytes,18,opt,name=appPath,proto3" json:"appPath,omitempty"` GhId string `protobuf:"bytes,19,opt,name=ghId,proto3" json:"ghId,omitempty"` AppName string `protobuf:"bytes,20,opt,name=appName,proto3" json:"appName,omitempty"` LabelIds []uint32 `protobuf:"varint,21,rep,packed,name=labelIds,proto3" json:"labelIds,omitempty"` // contains filtered or unexported fields }
func (*CreateArticleReq) Descriptor
deprecated
added in
v0.0.16
func (*CreateArticleReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateArticleReq.ProtoReflect.Descriptor instead.
func (*CreateArticleReq) GetAppID ¶ added in v0.0.16
func (x *CreateArticleReq) GetAppID() string
func (*CreateArticleReq) GetAppName ¶ added in v0.0.16
func (x *CreateArticleReq) GetAppName() string
func (*CreateArticleReq) GetAppPath ¶ added in v0.0.16
func (x *CreateArticleReq) GetAppPath() string
func (*CreateArticleReq) GetAppType ¶ added in v0.0.16
func (x *CreateArticleReq) GetAppType() int64
func (*CreateArticleReq) GetAuthor ¶ added in v0.0.16
func (x *CreateArticleReq) GetAuthor() string
func (*CreateArticleReq) GetContent ¶ added in v0.0.16
func (x *CreateArticleReq) GetContent() string
func (*CreateArticleReq) GetCover ¶ added in v0.0.16
func (x *CreateArticleReq) GetCover() string
func (*CreateArticleReq) GetGhId ¶ added in v0.0.16
func (x *CreateArticleReq) GetGhId() string
func (*CreateArticleReq) GetIntroduce ¶ added in v0.0.16
func (x *CreateArticleReq) GetIntroduce() string
func (*CreateArticleReq) GetLabelIds ¶ added in v0.0.16
func (x *CreateArticleReq) GetLabelIds() []uint32
func (*CreateArticleReq) GetLevel ¶ added in v0.0.16
func (x *CreateArticleReq) GetLevel() int64
func (*CreateArticleReq) GetPublic ¶ added in v0.0.16
func (x *CreateArticleReq) GetPublic() int64
func (*CreateArticleReq) GetReleaseAt ¶ added in v0.0.16
func (x *CreateArticleReq) GetReleaseAt() int64
func (*CreateArticleReq) GetReviewID ¶ added in v0.0.16
func (x *CreateArticleReq) GetReviewID() int64
func (*CreateArticleReq) GetSort ¶ added in v0.0.16
func (x *CreateArticleReq) GetSort() int64
func (*CreateArticleReq) GetStatus ¶ added in v0.0.16
func (x *CreateArticleReq) GetStatus() int64
func (*CreateArticleReq) GetSubtitle ¶ added in v0.0.16
func (x *CreateArticleReq) GetSubtitle() string
func (*CreateArticleReq) GetTitle ¶ added in v0.0.16
func (x *CreateArticleReq) GetTitle() string
func (*CreateArticleReq) GetType ¶ added in v0.0.16
func (x *CreateArticleReq) GetType() int64
func (*CreateArticleReq) GetUrl ¶ added in v0.0.16
func (x *CreateArticleReq) GetUrl() string
func (*CreateArticleReq) GetWriteID ¶ added in v0.0.16
func (x *CreateArticleReq) GetWriteID() int64
func (*CreateArticleReq) ProtoMessage ¶ added in v0.0.16
func (*CreateArticleReq) ProtoMessage()
func (*CreateArticleReq) ProtoReflect ¶ added in v0.0.16
func (x *CreateArticleReq) ProtoReflect() protoreflect.Message
func (*CreateArticleReq) Reset ¶ added in v0.0.16
func (x *CreateArticleReq) Reset()
func (*CreateArticleReq) String ¶ added in v0.0.16
func (x *CreateArticleReq) String() string
type CreateArticleResp ¶ added in v0.0.16
type CreateArticleResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *ModelArticle `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateArticleResp) Descriptor
deprecated
added in
v0.0.16
func (*CreateArticleResp) Descriptor() ([]byte, []int)
Deprecated: Use CreateArticleResp.ProtoReflect.Descriptor instead.
func (*CreateArticleResp) GetCode ¶ added in v0.0.16
func (x *CreateArticleResp) GetCode() int32
func (*CreateArticleResp) GetData ¶ added in v0.0.16
func (x *CreateArticleResp) GetData() *ModelArticle
func (*CreateArticleResp) GetMsg ¶ added in v0.0.16
func (x *CreateArticleResp) GetMsg() string
func (*CreateArticleResp) GetPath ¶ added in v0.0.16
func (x *CreateArticleResp) GetPath() string
func (*CreateArticleResp) GetRequestID ¶ added in v0.0.16
func (x *CreateArticleResp) GetRequestID() string
func (*CreateArticleResp) ProtoMessage ¶ added in v0.0.16
func (*CreateArticleResp) ProtoMessage()
func (*CreateArticleResp) ProtoReflect ¶ added in v0.0.16
func (x *CreateArticleResp) ProtoReflect() protoreflect.Message
func (*CreateArticleResp) Reset ¶ added in v0.0.16
func (x *CreateArticleResp) Reset()
func (*CreateArticleResp) String ¶ added in v0.0.16
func (x *CreateArticleResp) String() string
type DeleteIdsReq ¶ added in v0.0.13
type DeleteIdsReq struct { Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*DeleteIdsReq) Descriptor
deprecated
added in
v0.0.13
func (*DeleteIdsReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIdsReq.ProtoReflect.Descriptor instead.
func (*DeleteIdsReq) GetIds ¶ added in v0.0.13
func (x *DeleteIdsReq) GetIds() []uint32
func (*DeleteIdsReq) ProtoMessage ¶ added in v0.0.13
func (*DeleteIdsReq) ProtoMessage()
func (*DeleteIdsReq) ProtoReflect ¶ added in v0.0.13
func (x *DeleteIdsReq) ProtoReflect() protoreflect.Message
func (*DeleteIdsReq) Reset ¶ added in v0.0.13
func (x *DeleteIdsReq) Reset()
func (*DeleteIdsReq) String ¶ added in v0.0.13
func (x *DeleteIdsReq) String() string
type DeleteReq ¶ added in v0.0.13
type DeleteReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteReq) Descriptor
deprecated
added in
v0.0.13
func (*DeleteReq) ProtoMessage ¶ added in v0.0.13
func (*DeleteReq) ProtoMessage()
func (*DeleteReq) ProtoReflect ¶ added in v0.0.13
func (x *DeleteReq) ProtoReflect() protoreflect.Message
type ModelArticle ¶ added in v0.0.16
type ModelArticle struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt int64 `protobuf:"varint,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt int64 `protobuf:"varint,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` DeletedAt int64 `protobuf:"varint,4,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"` Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` Subtitle string `protobuf:"bytes,6,opt,name=subtitle,proto3" json:"subtitle,omitempty"` Introduce string `protobuf:"bytes,7,opt,name=introduce,proto3" json:"introduce,omitempty"` Author string `protobuf:"bytes,8,opt,name=author,proto3" json:"author,omitempty"` Cover string `protobuf:"bytes,9,opt,name=cover,proto3" json:"cover,omitempty"` Content string `protobuf:"bytes,10,opt,name=content,proto3" json:"content,omitempty"` Type int64 `protobuf:"varint,11,opt,name=type,proto3" json:"type,omitempty"` Status int64 `protobuf:"varint,12,opt,name=status,proto3" json:"status,omitempty"` Public int64 `protobuf:"varint,13,opt,name=public,proto3" json:"public,omitempty"` Level int64 `protobuf:"varint,14,opt,name=level,proto3" json:"level,omitempty"` TenantId int64 `protobuf:"varint,15,opt,name=tenantId,proto3" json:"tenantId,omitempty"` WriteID int64 `protobuf:"varint,16,opt,name=writeID,proto3" json:"writeID,omitempty"` ReviewID int64 `protobuf:"varint,17,opt,name=reviewID,proto3" json:"reviewID,omitempty"` Sort int64 `protobuf:"varint,18,opt,name=sort,proto3" json:"sort,omitempty"` ReleaseAt int64 `protobuf:"varint,19,opt,name=releaseAt,proto3" json:"releaseAt,omitempty"` Url string `protobuf:"bytes,20,opt,name=url,proto3" json:"url,omitempty"` AppType int64 `protobuf:"varint,21,opt,name=appType,proto3" json:"appType,omitempty"` AppID string `protobuf:"bytes,22,opt,name=appID,proto3" json:"appID,omitempty"` AppPath string `protobuf:"bytes,23,opt,name=appPath,proto3" json:"appPath,omitempty"` GhId string `protobuf:"bytes,24,opt,name=ghId,proto3" json:"ghId,omitempty"` AppName string `protobuf:"bytes,25,opt,name=appName,proto3" json:"appName,omitempty"` Labels []*ModelLabel `protobuf:"bytes,26,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*ModelArticle) Descriptor
deprecated
added in
v0.0.16
func (*ModelArticle) Descriptor() ([]byte, []int)
Deprecated: Use ModelArticle.ProtoReflect.Descriptor instead.
func (*ModelArticle) GetAppID ¶ added in v0.0.16
func (x *ModelArticle) GetAppID() string
func (*ModelArticle) GetAppName ¶ added in v0.0.16
func (x *ModelArticle) GetAppName() string
func (*ModelArticle) GetAppPath ¶ added in v0.0.16
func (x *ModelArticle) GetAppPath() string
func (*ModelArticle) GetAppType ¶ added in v0.0.16
func (x *ModelArticle) GetAppType() int64
func (*ModelArticle) GetAuthor ¶ added in v0.0.16
func (x *ModelArticle) GetAuthor() string
func (*ModelArticle) GetContent ¶ added in v0.0.16
func (x *ModelArticle) GetContent() string
func (*ModelArticle) GetCover ¶ added in v0.0.16
func (x *ModelArticle) GetCover() string
func (*ModelArticle) GetCreatedAt ¶ added in v0.0.16
func (x *ModelArticle) GetCreatedAt() int64
func (*ModelArticle) GetDeletedAt ¶ added in v0.0.16
func (x *ModelArticle) GetDeletedAt() int64
func (*ModelArticle) GetGhId ¶ added in v0.0.16
func (x *ModelArticle) GetGhId() string
func (*ModelArticle) GetId ¶ added in v0.0.18
func (x *ModelArticle) GetId() uint32
func (*ModelArticle) GetIntroduce ¶ added in v0.0.16
func (x *ModelArticle) GetIntroduce() string
func (*ModelArticle) GetLabels ¶ added in v0.0.16
func (x *ModelArticle) GetLabels() []*ModelLabel
func (*ModelArticle) GetLevel ¶ added in v0.0.16
func (x *ModelArticle) GetLevel() int64
func (*ModelArticle) GetPublic ¶ added in v0.0.16
func (x *ModelArticle) GetPublic() int64
func (*ModelArticle) GetReleaseAt ¶ added in v0.0.16
func (x *ModelArticle) GetReleaseAt() int64
func (*ModelArticle) GetReviewID ¶ added in v0.0.16
func (x *ModelArticle) GetReviewID() int64
func (*ModelArticle) GetSort ¶ added in v0.0.16
func (x *ModelArticle) GetSort() int64
func (*ModelArticle) GetStatus ¶ added in v0.0.16
func (x *ModelArticle) GetStatus() int64
func (*ModelArticle) GetSubtitle ¶ added in v0.0.16
func (x *ModelArticle) GetSubtitle() string
func (*ModelArticle) GetTenantId ¶ added in v0.0.16
func (x *ModelArticle) GetTenantId() int64
func (*ModelArticle) GetTitle ¶ added in v0.0.16
func (x *ModelArticle) GetTitle() string
func (*ModelArticle) GetType ¶ added in v0.0.16
func (x *ModelArticle) GetType() int64
func (*ModelArticle) GetUpdatedAt ¶ added in v0.0.16
func (x *ModelArticle) GetUpdatedAt() int64
func (*ModelArticle) GetUrl ¶ added in v0.0.16
func (x *ModelArticle) GetUrl() string
func (*ModelArticle) GetWriteID ¶ added in v0.0.16
func (x *ModelArticle) GetWriteID() int64
func (*ModelArticle) ProtoMessage ¶ added in v0.0.16
func (*ModelArticle) ProtoMessage()
func (*ModelArticle) ProtoReflect ¶ added in v0.0.16
func (x *ModelArticle) ProtoReflect() protoreflect.Message
func (*ModelArticle) Reset ¶ added in v0.0.16
func (x *ModelArticle) Reset()
func (*ModelArticle) String ¶ added in v0.0.16
func (x *ModelArticle) String() string
type ModelLabel ¶ added in v0.0.13
type ModelLabel struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt int64 `protobuf:"varint,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt int64 `protobuf:"varint,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Status int64 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` Sort int64 `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"` Level int64 `protobuf:"varint,7,opt,name=level,proto3" json:"level,omitempty"` // contains filtered or unexported fields }
note: 通用部分
func (*ModelLabel) Descriptor
deprecated
added in
v0.0.13
func (*ModelLabel) Descriptor() ([]byte, []int)
Deprecated: Use ModelLabel.ProtoReflect.Descriptor instead.
func (*ModelLabel) GetCreatedAt ¶ added in v0.0.15
func (x *ModelLabel) GetCreatedAt() int64
func (*ModelLabel) GetId ¶ added in v0.0.13
func (x *ModelLabel) GetId() uint32
func (*ModelLabel) GetLevel ¶ added in v0.0.16
func (x *ModelLabel) GetLevel() int64
func (*ModelLabel) GetName ¶ added in v0.0.13
func (x *ModelLabel) GetName() string
func (*ModelLabel) GetSort ¶ added in v0.0.15
func (x *ModelLabel) GetSort() int64
func (*ModelLabel) GetStatus ¶ added in v0.0.13
func (x *ModelLabel) GetStatus() int64
func (*ModelLabel) GetUpdatedAt ¶ added in v0.0.15
func (x *ModelLabel) GetUpdatedAt() int64
func (*ModelLabel) ProtoMessage ¶ added in v0.0.13
func (*ModelLabel) ProtoMessage()
func (*ModelLabel) ProtoReflect ¶ added in v0.0.13
func (x *ModelLabel) ProtoReflect() protoreflect.Message
func (*ModelLabel) Reset ¶ added in v0.0.13
func (x *ModelLabel) Reset()
func (*ModelLabel) String ¶ added in v0.0.13
func (x *ModelLabel) String() string
type QueryArticleListReq ¶ added in v0.0.16
type QueryArticleListReq struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` StartTime int64 `protobuf:"varint,3,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime int64 `protobuf:"varint,4,opt,name=endTime,proto3" json:"endTime,omitempty"` Keyword string `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"` // contains filtered or unexported fields }
func (*QueryArticleListReq) Descriptor
deprecated
added in
v0.0.16
func (*QueryArticleListReq) Descriptor() ([]byte, []int)
Deprecated: Use QueryArticleListReq.ProtoReflect.Descriptor instead.
func (*QueryArticleListReq) GetEndTime ¶ added in v0.0.16
func (x *QueryArticleListReq) GetEndTime() int64
func (*QueryArticleListReq) GetKeyword ¶ added in v0.0.16
func (x *QueryArticleListReq) GetKeyword() string
func (*QueryArticleListReq) GetPage ¶ added in v0.0.16
func (x *QueryArticleListReq) GetPage() int32
func (*QueryArticleListReq) GetPageSize ¶ added in v0.0.16
func (x *QueryArticleListReq) GetPageSize() int32
func (*QueryArticleListReq) GetStartTime ¶ added in v0.0.16
func (x *QueryArticleListReq) GetStartTime() int64
func (*QueryArticleListReq) ProtoMessage ¶ added in v0.0.16
func (*QueryArticleListReq) ProtoMessage()
func (*QueryArticleListReq) ProtoReflect ¶ added in v0.0.16
func (x *QueryArticleListReq) ProtoReflect() protoreflect.Message
func (*QueryArticleListReq) Reset ¶ added in v0.0.16
func (x *QueryArticleListReq) Reset()
func (*QueryArticleListReq) String ¶ added in v0.0.16
func (x *QueryArticleListReq) String() string
type QueryArticleListResp ¶ added in v0.0.16
type QueryArticleListResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *QueryArticleListRespData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*QueryArticleListResp) Descriptor
deprecated
added in
v0.0.16
func (*QueryArticleListResp) Descriptor() ([]byte, []int)
Deprecated: Use QueryArticleListResp.ProtoReflect.Descriptor instead.
func (*QueryArticleListResp) GetCode ¶ added in v0.0.16
func (x *QueryArticleListResp) GetCode() int32
func (*QueryArticleListResp) GetData ¶ added in v0.0.16
func (x *QueryArticleListResp) GetData() *QueryArticleListRespData
func (*QueryArticleListResp) GetMsg ¶ added in v0.0.16
func (x *QueryArticleListResp) GetMsg() string
func (*QueryArticleListResp) GetPath ¶ added in v0.0.16
func (x *QueryArticleListResp) GetPath() string
func (*QueryArticleListResp) GetRequestID ¶ added in v0.0.16
func (x *QueryArticleListResp) GetRequestID() string
func (*QueryArticleListResp) ProtoMessage ¶ added in v0.0.16
func (*QueryArticleListResp) ProtoMessage()
func (*QueryArticleListResp) ProtoReflect ¶ added in v0.0.16
func (x *QueryArticleListResp) ProtoReflect() protoreflect.Message
func (*QueryArticleListResp) Reset ¶ added in v0.0.16
func (x *QueryArticleListResp) Reset()
func (*QueryArticleListResp) String ¶ added in v0.0.16
func (x *QueryArticleListResp) String() string
type QueryArticleListRespData ¶ added in v0.0.16
type QueryArticleListRespData struct { List []*ModelArticle `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"` // contains filtered or unexported fields }
func (*QueryArticleListRespData) Descriptor
deprecated
added in
v0.0.16
func (*QueryArticleListRespData) Descriptor() ([]byte, []int)
Deprecated: Use QueryArticleListRespData.ProtoReflect.Descriptor instead.
func (*QueryArticleListRespData) GetList ¶ added in v0.0.16
func (x *QueryArticleListRespData) GetList() []*ModelArticle
func (*QueryArticleListRespData) GetPage ¶ added in v0.0.16
func (x *QueryArticleListRespData) GetPage() int32
func (*QueryArticleListRespData) GetPageSize ¶ added in v0.0.16
func (x *QueryArticleListRespData) GetPageSize() int32
func (*QueryArticleListRespData) GetTotal ¶ added in v0.0.16
func (x *QueryArticleListRespData) GetTotal() int64
func (*QueryArticleListRespData) ProtoMessage ¶ added in v0.0.16
func (*QueryArticleListRespData) ProtoMessage()
func (*QueryArticleListRespData) ProtoReflect ¶ added in v0.0.16
func (x *QueryArticleListRespData) ProtoReflect() protoreflect.Message
func (*QueryArticleListRespData) Reset ¶ added in v0.0.16
func (x *QueryArticleListRespData) Reset()
func (*QueryArticleListRespData) String ¶ added in v0.0.16
func (x *QueryArticleListRespData) String() string
type QueryArticleResp ¶ added in v0.0.16
type QueryArticleResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *ModelArticle `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*QueryArticleResp) Descriptor
deprecated
added in
v0.0.16
func (*QueryArticleResp) Descriptor() ([]byte, []int)
Deprecated: Use QueryArticleResp.ProtoReflect.Descriptor instead.
func (*QueryArticleResp) GetCode ¶ added in v0.0.16
func (x *QueryArticleResp) GetCode() int32
func (*QueryArticleResp) GetData ¶ added in v0.0.16
func (x *QueryArticleResp) GetData() *ModelArticle
func (*QueryArticleResp) GetMsg ¶ added in v0.0.16
func (x *QueryArticleResp) GetMsg() string
func (*QueryArticleResp) GetPath ¶ added in v0.0.16
func (x *QueryArticleResp) GetPath() string
func (*QueryArticleResp) GetRequestID ¶ added in v0.0.16
func (x *QueryArticleResp) GetRequestID() string
func (*QueryArticleResp) ProtoMessage ¶ added in v0.0.16
func (*QueryArticleResp) ProtoMessage()
func (*QueryArticleResp) ProtoReflect ¶ added in v0.0.16
func (x *QueryArticleResp) ProtoReflect() protoreflect.Message
func (*QueryArticleResp) Reset ¶ added in v0.0.16
func (x *QueryArticleResp) Reset()
func (*QueryArticleResp) String ¶ added in v0.0.16
func (x *QueryArticleResp) String() string
type QueryReq ¶ added in v0.0.13
type QueryReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*QueryReq) Descriptor
deprecated
added in
v0.0.13
func (*QueryReq) ProtoMessage ¶ added in v0.0.13
func (*QueryReq) ProtoMessage()
func (*QueryReq) ProtoReflect ¶ added in v0.0.13
func (x *QueryReq) ProtoReflect() protoreflect.Message
type Response ¶ added in v0.0.13
type Response struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
added in
v0.0.13
func (*Response) GetRequestID ¶ added in v0.0.13
func (*Response) ProtoMessage ¶ added in v0.0.13
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶ added in v0.0.13
func (x *Response) ProtoReflect() protoreflect.Message
type UnimplementedArticleRpcServiceServer ¶
type UnimplementedArticleRpcServiceServer struct { }
UnimplementedArticleRpcServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedArticleRpcServiceServer) BindArticleLabels ¶ added in v0.0.18
func (UnimplementedArticleRpcServiceServer) BindArticleLabels(context.Context, *UpdateBindLabelsReq) (*Response, error)
func (UnimplementedArticleRpcServiceServer) Create ¶ added in v0.0.16
func (UnimplementedArticleRpcServiceServer) Create(context.Context, *CreateArticleReq) (*CreateArticleResp, error)
func (UnimplementedArticleRpcServiceServer) DeleteIds ¶ added in v0.0.16
func (UnimplementedArticleRpcServiceServer) DeleteIds(context.Context, *DeleteIdsReq) (*Response, error)
func (UnimplementedArticleRpcServiceServer) Query ¶ added in v0.0.16
func (UnimplementedArticleRpcServiceServer) Query(context.Context, *QueryReq) (*QueryArticleResp, error)
func (UnimplementedArticleRpcServiceServer) QueryList ¶ added in v0.0.16
func (UnimplementedArticleRpcServiceServer) QueryList(context.Context, *QueryArticleListReq) (*QueryArticleListResp, error)
func (UnimplementedArticleRpcServiceServer) UnBindArticleLabels ¶ added in v0.0.18
func (UnimplementedArticleRpcServiceServer) UnBindArticleLabels(context.Context, *UpdateBindLabelsReq) (*Response, error)
func (UnimplementedArticleRpcServiceServer) Update ¶ added in v0.0.16
func (UnimplementedArticleRpcServiceServer) Update(context.Context, *UpdateArticleReq) (*Response, error)
func (UnimplementedArticleRpcServiceServer) UpdateStatus ¶ added in v0.0.16
func (UnimplementedArticleRpcServiceServer) UpdateStatus(context.Context, *UpdateStatusReq) (*Response, error)
type UnsafeArticleRpcServiceServer ¶
type UnsafeArticleRpcServiceServer interface {
// contains filtered or unexported methods
}
UnsafeArticleRpcServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ArticleRpcServiceServer will result in compilation errors.
type UpdateArticleReq ¶ added in v0.0.16
type UpdateArticleReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Subtitle string `protobuf:"bytes,3,opt,name=subtitle,proto3" json:"subtitle,omitempty"` Introduce string `protobuf:"bytes,4,opt,name=introduce,proto3" json:"introduce,omitempty"` Author string `protobuf:"bytes,5,opt,name=author,proto3" json:"author,omitempty"` Cover string `protobuf:"bytes,6,opt,name=cover,proto3" json:"cover,omitempty"` Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"` Type int64 `protobuf:"varint,8,opt,name=type,proto3" json:"type,omitempty"` Status int64 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"` Public int64 `protobuf:"varint,10,opt,name=public,proto3" json:"public,omitempty"` Level int64 `protobuf:"varint,11,opt,name=level,proto3" json:"level,omitempty"` WriteID int64 `protobuf:"varint,12,opt,name=writeID,proto3" json:"writeID,omitempty"` ReviewID int64 `protobuf:"varint,13,opt,name=reviewID,proto3" json:"reviewID,omitempty"` Sort int64 `protobuf:"varint,14,opt,name=sort,proto3" json:"sort,omitempty"` ReleaseAt int64 `protobuf:"varint,15,opt,name=releaseAt,proto3" json:"releaseAt,omitempty"` Url string `protobuf:"bytes,16,opt,name=url,proto3" json:"url,omitempty"` AppType int64 `protobuf:"varint,17,opt,name=appType,proto3" json:"appType,omitempty"` AppID string `protobuf:"bytes,18,opt,name=appID,proto3" json:"appID,omitempty"` AppPath string `protobuf:"bytes,19,opt,name=appPath,proto3" json:"appPath,omitempty"` GhId string `protobuf:"bytes,20,opt,name=ghId,proto3" json:"ghId,omitempty"` AppName string `protobuf:"bytes,21,opt,name=appName,proto3" json:"appName,omitempty"` // contains filtered or unexported fields }
func (*UpdateArticleReq) Descriptor
deprecated
added in
v0.0.16
func (*UpdateArticleReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateArticleReq.ProtoReflect.Descriptor instead.
func (*UpdateArticleReq) GetAppID ¶ added in v0.0.16
func (x *UpdateArticleReq) GetAppID() string
func (*UpdateArticleReq) GetAppName ¶ added in v0.0.16
func (x *UpdateArticleReq) GetAppName() string
func (*UpdateArticleReq) GetAppPath ¶ added in v0.0.16
func (x *UpdateArticleReq) GetAppPath() string
func (*UpdateArticleReq) GetAppType ¶ added in v0.0.16
func (x *UpdateArticleReq) GetAppType() int64
func (*UpdateArticleReq) GetAuthor ¶ added in v0.0.16
func (x *UpdateArticleReq) GetAuthor() string
func (*UpdateArticleReq) GetContent ¶ added in v0.0.16
func (x *UpdateArticleReq) GetContent() string
func (*UpdateArticleReq) GetCover ¶ added in v0.0.16
func (x *UpdateArticleReq) GetCover() string
func (*UpdateArticleReq) GetGhId ¶ added in v0.0.16
func (x *UpdateArticleReq) GetGhId() string
func (*UpdateArticleReq) GetId ¶ added in v0.0.18
func (x *UpdateArticleReq) GetId() uint32
func (*UpdateArticleReq) GetIntroduce ¶ added in v0.0.16
func (x *UpdateArticleReq) GetIntroduce() string
func (*UpdateArticleReq) GetLevel ¶ added in v0.0.16
func (x *UpdateArticleReq) GetLevel() int64
func (*UpdateArticleReq) GetPublic ¶ added in v0.0.16
func (x *UpdateArticleReq) GetPublic() int64
func (*UpdateArticleReq) GetReleaseAt ¶ added in v0.0.16
func (x *UpdateArticleReq) GetReleaseAt() int64
func (*UpdateArticleReq) GetReviewID ¶ added in v0.0.16
func (x *UpdateArticleReq) GetReviewID() int64
func (*UpdateArticleReq) GetSort ¶ added in v0.0.16
func (x *UpdateArticleReq) GetSort() int64
func (*UpdateArticleReq) GetStatus ¶ added in v0.0.16
func (x *UpdateArticleReq) GetStatus() int64
func (*UpdateArticleReq) GetSubtitle ¶ added in v0.0.16
func (x *UpdateArticleReq) GetSubtitle() string
func (*UpdateArticleReq) GetTitle ¶ added in v0.0.16
func (x *UpdateArticleReq) GetTitle() string
func (*UpdateArticleReq) GetType ¶ added in v0.0.16
func (x *UpdateArticleReq) GetType() int64
func (*UpdateArticleReq) GetUrl ¶ added in v0.0.16
func (x *UpdateArticleReq) GetUrl() string
func (*UpdateArticleReq) GetWriteID ¶ added in v0.0.16
func (x *UpdateArticleReq) GetWriteID() int64
func (*UpdateArticleReq) ProtoMessage ¶ added in v0.0.16
func (*UpdateArticleReq) ProtoMessage()
func (*UpdateArticleReq) ProtoReflect ¶ added in v0.0.16
func (x *UpdateArticleReq) ProtoReflect() protoreflect.Message
func (*UpdateArticleReq) Reset ¶ added in v0.0.16
func (x *UpdateArticleReq) Reset()
func (*UpdateArticleReq) String ¶ added in v0.0.16
func (x *UpdateArticleReq) String() string
type UpdateBindLabelsReq ¶ added in v0.0.18
type UpdateBindLabelsReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` LabelIds []uint32 `protobuf:"varint,2,rep,packed,name=labelIds,proto3" json:"labelIds,omitempty"` // contains filtered or unexported fields }
func (*UpdateBindLabelsReq) Descriptor
deprecated
added in
v0.0.18
func (*UpdateBindLabelsReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBindLabelsReq.ProtoReflect.Descriptor instead.
func (*UpdateBindLabelsReq) GetId ¶ added in v0.0.18
func (x *UpdateBindLabelsReq) GetId() uint32
func (*UpdateBindLabelsReq) GetLabelIds ¶ added in v0.0.18
func (x *UpdateBindLabelsReq) GetLabelIds() []uint32
func (*UpdateBindLabelsReq) ProtoMessage ¶ added in v0.0.18
func (*UpdateBindLabelsReq) ProtoMessage()
func (*UpdateBindLabelsReq) ProtoReflect ¶ added in v0.0.18
func (x *UpdateBindLabelsReq) ProtoReflect() protoreflect.Message
func (*UpdateBindLabelsReq) Reset ¶ added in v0.0.18
func (x *UpdateBindLabelsReq) Reset()
func (*UpdateBindLabelsReq) String ¶ added in v0.0.18
func (x *UpdateBindLabelsReq) String() string
type UpdateStatusReq ¶ added in v0.0.13
type UpdateStatusReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Status int64 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*UpdateStatusReq) Descriptor
deprecated
added in
v0.0.13
func (*UpdateStatusReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStatusReq.ProtoReflect.Descriptor instead.
func (*UpdateStatusReq) GetId ¶ added in v0.0.13
func (x *UpdateStatusReq) GetId() uint32
func (*UpdateStatusReq) GetStatus ¶ added in v0.0.13
func (x *UpdateStatusReq) GetStatus() int64
func (*UpdateStatusReq) ProtoMessage ¶ added in v0.0.13
func (*UpdateStatusReq) ProtoMessage()
func (*UpdateStatusReq) ProtoReflect ¶ added in v0.0.13
func (x *UpdateStatusReq) ProtoReflect() protoreflect.Message
func (*UpdateStatusReq) Reset ¶ added in v0.0.13
func (x *UpdateStatusReq) Reset()
func (*UpdateStatusReq) String ¶ added in v0.0.13
func (x *UpdateStatusReq) String() string