collect

package
v0.0.0-...-62160e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL