Documentation ¶
Index ¶
- Variables
- type CollectActionRequest
- func (*CollectActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CollectActionRequest) GetAHashId() string
- func (x *CollectActionRequest) GetActionType() int32
- func (x *CollectActionRequest) GetTag() string
- func (*CollectActionRequest) ProtoMessage()
- func (x *CollectActionRequest) ProtoReflect() protoreflect.Message
- func (x *CollectActionRequest) Reset()
- func (x *CollectActionRequest) String() string
- type CollectActionResponse
- func (*CollectActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CollectActionResponse) GetStatusCode() int32
- func (x *CollectActionResponse) GetStatusMsg() string
- func (*CollectActionResponse) ProtoMessage()
- func (x *CollectActionResponse) ProtoReflect() protoreflect.Message
- func (x *CollectActionResponse) Reset()
- func (x *CollectActionResponse) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_collect_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CollectActionRequest ¶
type CollectActionRequest struct { AHashId string `protobuf:"bytes,1,opt,name=AHashId,proto3" form:"AHashId" json:"aHashId,required" query:"AHashId"` //文章的id Tag string `protobuf:"bytes,2,opt,name=Tag,proto3" form:"Tag" json:"tag,required" query:"Tag"` ActionType int32 `` // 1-collect, 2-Uncollect /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CollectActionRequest) Descriptor
deprecated
func (*CollectActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CollectActionRequest.ProtoReflect.Descriptor instead.
func (*CollectActionRequest) GetAHashId ¶
func (x *CollectActionRequest) GetAHashId() string
func (*CollectActionRequest) GetActionType ¶
func (x *CollectActionRequest) GetActionType() int32
func (*CollectActionRequest) GetTag ¶
func (x *CollectActionRequest) GetTag() string
func (*CollectActionRequest) ProtoMessage ¶
func (*CollectActionRequest) ProtoMessage()
func (*CollectActionRequest) ProtoReflect ¶
func (x *CollectActionRequest) ProtoReflect() protoreflect.Message
func (*CollectActionRequest) Reset ¶
func (x *CollectActionRequest) Reset()
func (*CollectActionRequest) String ¶
func (x *CollectActionRequest) String() string
type CollectActionResponse ¶
type CollectActionResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" form:"status_code" json:"status_code" query:"status_code"` // status code, 0-success, other values-failure StatusMsg string `protobuf:"bytes,2,opt,name=status_msg,json=statusMsg,proto3" form:"status_msg" json:"status_msg" query:"status_msg"` // status description // contains filtered or unexported fields }
func (*CollectActionResponse) Descriptor
deprecated
func (*CollectActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CollectActionResponse.ProtoReflect.Descriptor instead.
func (*CollectActionResponse) GetStatusCode ¶
func (x *CollectActionResponse) GetStatusCode() int32
func (*CollectActionResponse) GetStatusMsg ¶
func (x *CollectActionResponse) GetStatusMsg() string
func (*CollectActionResponse) ProtoMessage ¶
func (*CollectActionResponse) ProtoMessage()
func (*CollectActionResponse) ProtoReflect ¶
func (x *CollectActionResponse) ProtoReflect() protoreflect.Message
func (*CollectActionResponse) Reset ¶
func (x *CollectActionResponse) Reset()
func (*CollectActionResponse) String ¶
func (x *CollectActionResponse) String() string
Click to show internal directories.
Click to hide internal directories.