Documentation ¶
Index ¶
- Variables
- type ActionRequest
- type ActionResponse
- func (*ActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ActionResponse) GetStatusCode() int32
- func (x *ActionResponse) GetStatusMsg() string
- func (*ActionResponse) ProtoMessage()
- func (x *ActionResponse) ProtoReflect() protoreflect.Message
- func (x *ActionResponse) Reset()
- func (x *ActionResponse) String() string
- type ArticleResponse
- func (*ArticleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ArticleResponse) GetArticle() *common.Article
- func (x *ArticleResponse) GetStatusCode() int32
- func (x *ArticleResponse) GetStatusMsg() string
- func (*ArticleResponse) ProtoMessage()
- func (x *ArticleResponse) ProtoReflect() protoreflect.Message
- func (x *ArticleResponse) Reset()
- func (x *ArticleResponse) String() string
- type CardsRequest
- func (*CardsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CardsRequest) GetOffset() int32
- func (x *CardsRequest) GetUHashID() string
- func (*CardsRequest) ProtoMessage()
- func (x *CardsRequest) ProtoReflect() protoreflect.Message
- func (x *CardsRequest) Reset()
- func (x *CardsRequest) String() string
- type CardsResponse
- func (*CardsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CardsResponse) GetList() []*common.ArticleCard
- func (x *CardsResponse) GetStatusCode() int32
- func (x *CardsResponse) GetStatusMsg() string
- func (*CardsResponse) ProtoMessage()
- func (x *CardsResponse) ProtoReflect() protoreflect.Message
- func (x *CardsResponse) Reset()
- func (x *CardsResponse) String() string
- type CreateActionRequest
- func (*CreateActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateActionRequest) GetPayload() *common.ArticleBase
- func (*CreateActionRequest) ProtoMessage()
- func (x *CreateActionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateActionRequest) Reset()
- func (x *CreateActionRequest) String() string
- type CreateActionResponse
- func (*CreateActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateActionResponse) GetAHashId() string
- func (x *CreateActionResponse) GetStatusCode() int32
- func (x *CreateActionResponse) GetStatusMsg() string
- func (*CreateActionResponse) ProtoMessage()
- func (x *CreateActionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateActionResponse) Reset()
- func (x *CreateActionResponse) String() string
- type DelActionRequest
- type DetailRequest
- func (*DetailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetailRequest) GetAHashID() string
- func (x *DetailRequest) GetUHashID() string
- func (*DetailRequest) ProtoMessage()
- func (x *DetailRequest) ProtoReflect() protoreflect.Message
- func (x *DetailRequest) Reset()
- func (x *DetailRequest) String() string
- type ModifyActionRequest
- func (*ModifyActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyActionRequest) GetAHashID() string
- func (x *ModifyActionRequest) GetPayload() *common.ArticleBase
- func (*ModifyActionRequest) ProtoMessage()
- func (x *ModifyActionRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyActionRequest) Reset()
- func (x *ModifyActionRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var File_publish_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ActionRequest ¶
type ActionRequest struct { AHashID string `protobuf:"bytes,1,opt,name=AHashID,proto3" form:"AHashID" json:"aHashID,required" query:"AHashID"` // contains filtered or unexported fields }
func (*ActionRequest) Descriptor
deprecated
func (*ActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ActionRequest.ProtoReflect.Descriptor instead.
func (*ActionRequest) GetAHashID ¶
func (x *ActionRequest) GetAHashID() string
func (*ActionRequest) ProtoMessage ¶
func (*ActionRequest) ProtoMessage()
func (*ActionRequest) ProtoReflect ¶
func (x *ActionRequest) ProtoReflect() protoreflect.Message
func (*ActionRequest) Reset ¶
func (x *ActionRequest) Reset()
func (*ActionRequest) String ¶
func (x *ActionRequest) String() string
type ActionResponse ¶
type ActionResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" form:"status_code" json:"status_code" query:"status_code"` StatusMsg string `protobuf:"bytes,2,opt,name=status_msg,json=statusMsg,proto3" form:"status_msg" json:"status_msg" query:"status_msg"` // contains filtered or unexported fields }
func (*ActionResponse) Descriptor
deprecated
func (*ActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ActionResponse.ProtoReflect.Descriptor instead.
func (*ActionResponse) GetStatusCode ¶
func (x *ActionResponse) GetStatusCode() int32
func (*ActionResponse) GetStatusMsg ¶
func (x *ActionResponse) GetStatusMsg() string
func (*ActionResponse) ProtoMessage ¶
func (*ActionResponse) ProtoMessage()
func (*ActionResponse) ProtoReflect ¶
func (x *ActionResponse) ProtoReflect() protoreflect.Message
func (*ActionResponse) Reset ¶
func (x *ActionResponse) Reset()
func (*ActionResponse) String ¶
func (x *ActionResponse) String() string
type ArticleResponse ¶
type ArticleResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" form:"status_code" json:"status_code" query:"status_code"` StatusMsg string `protobuf:"bytes,2,opt,name=status_msg,json=statusMsg,proto3" form:"status_msg" json:"status_msg" query:"status_msg"` Article *common.Article `protobuf:"bytes,3,opt,name=article,proto3" form:"article" json:"article" query:"article"` // contains filtered or unexported fields }
func (*ArticleResponse) Descriptor
deprecated
func (*ArticleResponse) Descriptor() ([]byte, []int)
Deprecated: Use ArticleResponse.ProtoReflect.Descriptor instead.
func (*ArticleResponse) GetArticle ¶
func (x *ArticleResponse) GetArticle() *common.Article
func (*ArticleResponse) GetStatusCode ¶
func (x *ArticleResponse) GetStatusCode() int32
func (*ArticleResponse) GetStatusMsg ¶
func (x *ArticleResponse) GetStatusMsg() string
func (*ArticleResponse) ProtoMessage ¶
func (*ArticleResponse) ProtoMessage()
func (*ArticleResponse) ProtoReflect ¶
func (x *ArticleResponse) ProtoReflect() protoreflect.Message
func (*ArticleResponse) Reset ¶
func (x *ArticleResponse) Reset()
func (*ArticleResponse) String ¶
func (x *ArticleResponse) String() string
type CardsRequest ¶
type CardsRequest struct { UHashID string `protobuf:"bytes,1,opt,name=UHashID,proto3" form:"UHashID" json:"UHashID" query:"uHashId,required"` //如果id为0,则根据时间的先后去请求文章列表 Offset int32 `protobuf:"varint,2,opt,name=Offset,proto3" form:"Offset" json:"Offset" query:"offset,required"` // contains filtered or unexported fields }
文章卡片列表
func (*CardsRequest) Descriptor
deprecated
func (*CardsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CardsRequest.ProtoReflect.Descriptor instead.
func (*CardsRequest) GetOffset ¶
func (x *CardsRequest) GetOffset() int32
func (*CardsRequest) GetUHashID ¶
func (x *CardsRequest) GetUHashID() string
func (*CardsRequest) ProtoMessage ¶
func (*CardsRequest) ProtoMessage()
func (*CardsRequest) ProtoReflect ¶
func (x *CardsRequest) ProtoReflect() protoreflect.Message
func (*CardsRequest) Reset ¶
func (x *CardsRequest) Reset()
func (*CardsRequest) String ¶
func (x *CardsRequest) String() string
type CardsResponse ¶
type CardsResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" form:"status_code" json:"status_code" query:"status_code"` StatusMsg string `protobuf:"bytes,2,opt,name=status_msg,json=statusMsg,proto3" form:"status_msg" json:"status_msg" query:"status_msg"` List []*common.ArticleCard `protobuf:"bytes,3,rep,name=List,proto3" form:"List" json:"List" query:"List"` // contains filtered or unexported fields }
func (*CardsResponse) Descriptor
deprecated
func (*CardsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CardsResponse.ProtoReflect.Descriptor instead.
func (*CardsResponse) GetList ¶
func (x *CardsResponse) GetList() []*common.ArticleCard
func (*CardsResponse) GetStatusCode ¶
func (x *CardsResponse) GetStatusCode() int32
func (*CardsResponse) GetStatusMsg ¶
func (x *CardsResponse) GetStatusMsg() string
func (*CardsResponse) ProtoMessage ¶
func (*CardsResponse) ProtoMessage()
func (*CardsResponse) ProtoReflect ¶
func (x *CardsResponse) ProtoReflect() protoreflect.Message
func (*CardsResponse) Reset ¶
func (x *CardsResponse) Reset()
func (*CardsResponse) String ¶
func (x *CardsResponse) String() string
type CreateActionRequest ¶
type CreateActionRequest struct { Payload *common.ArticleBase `protobuf:"bytes,1,opt,name=Payload,proto3" form:"Payload" json:"payload,required" query:"Payload"` // contains filtered or unexported fields }
文章的创建
func (*CreateActionRequest) Descriptor
deprecated
func (*CreateActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateActionRequest.ProtoReflect.Descriptor instead.
func (*CreateActionRequest) GetPayload ¶
func (x *CreateActionRequest) GetPayload() *common.ArticleBase
func (*CreateActionRequest) ProtoMessage ¶
func (*CreateActionRequest) ProtoMessage()
func (*CreateActionRequest) ProtoReflect ¶
func (x *CreateActionRequest) ProtoReflect() protoreflect.Message
func (*CreateActionRequest) Reset ¶
func (x *CreateActionRequest) Reset()
func (*CreateActionRequest) String ¶
func (x *CreateActionRequest) String() string
type CreateActionResponse ¶
type CreateActionResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" form:"status_code" json:"status_code" query:"status_code"` StatusMsg string `protobuf:"bytes,2,opt,name=status_msg,json=statusMsg,proto3" form:"status_msg" json:"status_msg" query:"status_msg"` AHashId string `protobuf:"bytes,3,opt,name=AHashId,proto3" form:"AHashId" json:"AHashId" query:"AHashId"` // contains filtered or unexported fields }
func (*CreateActionResponse) Descriptor
deprecated
func (*CreateActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateActionResponse.ProtoReflect.Descriptor instead.
func (*CreateActionResponse) GetAHashId ¶
func (x *CreateActionResponse) GetAHashId() string
func (*CreateActionResponse) GetStatusCode ¶
func (x *CreateActionResponse) GetStatusCode() int32
func (*CreateActionResponse) GetStatusMsg ¶
func (x *CreateActionResponse) GetStatusMsg() string
func (*CreateActionResponse) ProtoMessage ¶
func (*CreateActionResponse) ProtoMessage()
func (*CreateActionResponse) ProtoReflect ¶
func (x *CreateActionResponse) ProtoReflect() protoreflect.Message
func (*CreateActionResponse) Reset ¶
func (x *CreateActionResponse) Reset()
func (*CreateActionResponse) String ¶
func (x *CreateActionResponse) String() string
type DelActionRequest ¶
type DelActionRequest struct { AHashID string `protobuf:"bytes,1,opt,name=AHashID,proto3" form:"AHashID" json:"aHashID,required" query:"AHashID"` //文章的hashid // contains filtered or unexported fields }
func (*DelActionRequest) Descriptor
deprecated
func (*DelActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DelActionRequest.ProtoReflect.Descriptor instead.
func (*DelActionRequest) GetAHashID ¶
func (x *DelActionRequest) GetAHashID() string
func (*DelActionRequest) ProtoMessage ¶
func (*DelActionRequest) ProtoMessage()
func (*DelActionRequest) ProtoReflect ¶
func (x *DelActionRequest) ProtoReflect() protoreflect.Message
func (*DelActionRequest) Reset ¶
func (x *DelActionRequest) Reset()
func (*DelActionRequest) String ¶
func (x *DelActionRequest) String() string
type DetailRequest ¶
type DetailRequest struct { AHashID string `protobuf:"bytes,1,opt,name=AHashID,proto3" form:"AHashID" json:"AHashID" query:"aHashID,required"` //文章的hashid UHashID string `protobuf:"bytes,2,opt,name=UHashID,proto3" form:"UHashID" json:"UHashID" query:"uHashID,required"` // contains filtered or unexported fields }
func (*DetailRequest) Descriptor
deprecated
func (*DetailRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetailRequest.ProtoReflect.Descriptor instead.
func (*DetailRequest) GetAHashID ¶
func (x *DetailRequest) GetAHashID() string
func (*DetailRequest) GetUHashID ¶
func (x *DetailRequest) GetUHashID() string
func (*DetailRequest) ProtoMessage ¶
func (*DetailRequest) ProtoMessage()
func (*DetailRequest) ProtoReflect ¶
func (x *DetailRequest) ProtoReflect() protoreflect.Message
func (*DetailRequest) Reset ¶
func (x *DetailRequest) Reset()
func (*DetailRequest) String ¶
func (x *DetailRequest) String() string
type ModifyActionRequest ¶
type ModifyActionRequest struct { AHashID string `protobuf:"bytes,1,opt,name=AHashID,proto3" form:"AHashID" json:"aHashID,required" query:"AHashID"` //文章的hashid Payload *common.ArticleBase `protobuf:"bytes,2,opt,name=Payload,proto3" form:"Payload" json:"payload,required" query:"Payload"` // contains filtered or unexported fields }
文章的修改
func (*ModifyActionRequest) Descriptor
deprecated
func (*ModifyActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyActionRequest.ProtoReflect.Descriptor instead.
func (*ModifyActionRequest) GetAHashID ¶
func (x *ModifyActionRequest) GetAHashID() string
func (*ModifyActionRequest) GetPayload ¶
func (x *ModifyActionRequest) GetPayload() *common.ArticleBase
func (*ModifyActionRequest) ProtoMessage ¶
func (*ModifyActionRequest) ProtoMessage()
func (*ModifyActionRequest) ProtoReflect ¶
func (x *ModifyActionRequest) ProtoReflect() protoreflect.Message
func (*ModifyActionRequest) Reset ¶
func (x *ModifyActionRequest) Reset()
func (*ModifyActionRequest) String ¶
func (x *ModifyActionRequest) String() string