label

package
v0.0.42 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	LabelRpcService_Create_FullMethodName       = "/label.LabelRpcService/Create"
	LabelRpcService_Update_FullMethodName       = "/label.LabelRpcService/Update"
	LabelRpcService_Delete_FullMethodName       = "/label.LabelRpcService/Delete"
	LabelRpcService_DeleteIds_FullMethodName    = "/label.LabelRpcService/DeleteIds"
	LabelRpcService_Query_FullMethodName        = "/label.LabelRpcService/Query"
	LabelRpcService_QueryList_FullMethodName    = "/label.LabelRpcService/QueryList"
	LabelRpcService_UpdateStatus_FullMethodName = "/label.LabelRpcService/UpdateStatus"
)

Variables

View Source
var File_label_proto protoreflect.FileDescriptor
View Source
var LabelRpcService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "label.LabelRpcService",
	HandlerType: (*LabelRpcServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _LabelRpcService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _LabelRpcService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _LabelRpcService_Delete_Handler,
		},
		{
			MethodName: "DeleteIds",
			Handler:    _LabelRpcService_DeleteIds_Handler,
		},
		{
			MethodName: "Query",
			Handler:    _LabelRpcService_Query_Handler,
		},
		{
			MethodName: "QueryList",
			Handler:    _LabelRpcService_QueryList_Handler,
		},
		{
			MethodName: "UpdateStatus",
			Handler:    _LabelRpcService_UpdateStatus_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "label.proto",
}

LabelRpcService_ServiceDesc is the grpc.ServiceDesc for LabelRpcService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterLabelRpcServiceServer

func RegisterLabelRpcServiceServer(s grpc.ServiceRegistrar, srv LabelRpcServiceServer)

Types

type CreateLabelReq

type CreateLabelReq struct {
	Name   string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Status int64  `protobuf:"varint,2,opt,name=Status,proto3" json:"Status,omitempty"`
	Sort   int64  `protobuf:"varint,3,opt,name=Sort,proto3" json:"Sort,omitempty"`
	Level  int64  `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
	// contains filtered or unexported fields
}

note: label 标签

func (*CreateLabelReq) Descriptor deprecated

func (*CreateLabelReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateLabelReq.ProtoReflect.Descriptor instead.

func (*CreateLabelReq) GetLevel

func (x *CreateLabelReq) GetLevel() int64

func (*CreateLabelReq) GetName

func (x *CreateLabelReq) GetName() string

func (*CreateLabelReq) GetSort

func (x *CreateLabelReq) GetSort() int64

func (*CreateLabelReq) GetStatus

func (x *CreateLabelReq) GetStatus() int64

func (*CreateLabelReq) ProtoMessage

func (*CreateLabelReq) ProtoMessage()

func (*CreateLabelReq) ProtoReflect

func (x *CreateLabelReq) ProtoReflect() protoreflect.Message

func (*CreateLabelReq) Reset

func (x *CreateLabelReq) Reset()

func (*CreateLabelReq) String

func (x *CreateLabelReq) String() string

type CreateLabelResp

type CreateLabelResp 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      *ModelLabel `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLabelResp) Descriptor deprecated

func (*CreateLabelResp) Descriptor() ([]byte, []int)

Deprecated: Use CreateLabelResp.ProtoReflect.Descriptor instead.

func (*CreateLabelResp) GetCode

func (x *CreateLabelResp) GetCode() int32

func (*CreateLabelResp) GetData

func (x *CreateLabelResp) GetData() *ModelLabel

func (*CreateLabelResp) GetMsg

func (x *CreateLabelResp) GetMsg() string

func (*CreateLabelResp) GetPath

func (x *CreateLabelResp) GetPath() string

func (*CreateLabelResp) GetRequestID

func (x *CreateLabelResp) GetRequestID() string

func (*CreateLabelResp) ProtoMessage

func (*CreateLabelResp) ProtoMessage()

func (*CreateLabelResp) ProtoReflect

func (x *CreateLabelResp) ProtoReflect() protoreflect.Message

func (*CreateLabelResp) Reset

func (x *CreateLabelResp) Reset()

func (*CreateLabelResp) String

func (x *CreateLabelResp) String() string

type DeleteIdsReq

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

func (*DeleteIdsReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteIdsReq.ProtoReflect.Descriptor instead.

func (*DeleteIdsReq) GetIds

func (x *DeleteIdsReq) GetIds() []uint32

func (*DeleteIdsReq) ProtoMessage

func (*DeleteIdsReq) ProtoMessage()

func (*DeleteIdsReq) ProtoReflect

func (x *DeleteIdsReq) ProtoReflect() protoreflect.Message

func (*DeleteIdsReq) Reset

func (x *DeleteIdsReq) Reset()

func (*DeleteIdsReq) String

func (x *DeleteIdsReq) String() string

type DeleteReq

type DeleteReq struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteReq) Descriptor deprecated

func (*DeleteReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteReq.ProtoReflect.Descriptor instead.

func (*DeleteReq) GetId

func (x *DeleteReq) GetId() uint32

func (*DeleteReq) ProtoMessage

func (*DeleteReq) ProtoMessage()

func (*DeleteReq) ProtoReflect

func (x *DeleteReq) ProtoReflect() protoreflect.Message

func (*DeleteReq) Reset

func (x *DeleteReq) Reset()

func (*DeleteReq) String

func (x *DeleteReq) String() string

type LabelRpcServiceClient

type LabelRpcServiceClient interface {
	Create(ctx context.Context, in *CreateLabelReq, opts ...grpc.CallOption) (*CreateLabelResp, error)
	Update(ctx context.Context, in *UpdateLabelReq, 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) (*QueryLabelResp, error)
	QueryList(ctx context.Context, in *QueryLabelListReq, opts ...grpc.CallOption) (*QueryLabelListResp, error)
	UpdateStatus(ctx context.Context, in *UpdateStatusReq, opts ...grpc.CallOption) (*Response, error)
}

LabelRpcServiceClient is the client API for LabelRpcService 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.

type LabelRpcServiceServer

type LabelRpcServiceServer interface {
	Create(context.Context, *CreateLabelReq) (*CreateLabelResp, error)
	Update(context.Context, *UpdateLabelReq) (*Response, error)
	Delete(context.Context, *DeleteReq) (*Response, error)
	DeleteIds(context.Context, *DeleteIdsReq) (*Response, error)
	Query(context.Context, *QueryReq) (*QueryLabelResp, error)
	QueryList(context.Context, *QueryLabelListReq) (*QueryLabelListResp, error)
	UpdateStatus(context.Context, *UpdateStatusReq) (*Response, error)
	// contains filtered or unexported methods
}

LabelRpcServiceServer is the server API for LabelRpcService service. All implementations must embed UnimplementedLabelRpcServiceServer for forward compatibility

type ModelArticle

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

func (*ModelArticle) Descriptor() ([]byte, []int)

Deprecated: Use ModelArticle.ProtoReflect.Descriptor instead.

func (*ModelArticle) GetAppID

func (x *ModelArticle) GetAppID() string

func (*ModelArticle) GetAppName

func (x *ModelArticle) GetAppName() string

func (*ModelArticle) GetAppPath

func (x *ModelArticle) GetAppPath() string

func (*ModelArticle) GetAppType

func (x *ModelArticle) GetAppType() int64

func (*ModelArticle) GetAuthor

func (x *ModelArticle) GetAuthor() string

func (*ModelArticle) GetContent

func (x *ModelArticle) GetContent() string

func (*ModelArticle) GetCover

func (x *ModelArticle) GetCover() string

func (*ModelArticle) GetCreatedAt

func (x *ModelArticle) GetCreatedAt() int64

func (*ModelArticle) GetDeletedAt

func (x *ModelArticle) GetDeletedAt() int64

func (*ModelArticle) GetGhId

func (x *ModelArticle) GetGhId() string

func (*ModelArticle) GetID

func (x *ModelArticle) GetID() uint32

func (*ModelArticle) GetIntroduce

func (x *ModelArticle) GetIntroduce() string

func (*ModelArticle) GetLabels

func (x *ModelArticle) GetLabels() []*ModelLabel

func (*ModelArticle) GetLevel

func (x *ModelArticle) GetLevel() int64

func (*ModelArticle) GetPublic

func (x *ModelArticle) GetPublic() int64

func (*ModelArticle) GetReleaseAt

func (x *ModelArticle) GetReleaseAt() int64

func (*ModelArticle) GetReviewID

func (x *ModelArticle) GetReviewID() int64

func (*ModelArticle) GetSort

func (x *ModelArticle) GetSort() int64

func (*ModelArticle) GetStatus

func (x *ModelArticle) GetStatus() int64

func (*ModelArticle) GetSubtitle

func (x *ModelArticle) GetSubtitle() string

func (*ModelArticle) GetTenantId

func (x *ModelArticle) GetTenantId() int64

func (*ModelArticle) GetTitle

func (x *ModelArticle) GetTitle() string

func (*ModelArticle) GetType

func (x *ModelArticle) GetType() int64

func (*ModelArticle) GetUpdatedAt

func (x *ModelArticle) GetUpdatedAt() int64

func (*ModelArticle) GetUrl

func (x *ModelArticle) GetUrl() string

func (*ModelArticle) GetWriteID

func (x *ModelArticle) GetWriteID() int64

func (*ModelArticle) ProtoMessage

func (*ModelArticle) ProtoMessage()

func (*ModelArticle) ProtoReflect

func (x *ModelArticle) ProtoReflect() protoreflect.Message

func (*ModelArticle) Reset

func (x *ModelArticle) Reset()

func (*ModelArticle) String

func (x *ModelArticle) String() string

type ModelLabel

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

func (*ModelLabel) Descriptor() ([]byte, []int)

Deprecated: Use ModelLabel.ProtoReflect.Descriptor instead.

func (*ModelLabel) GetCreatedAt

func (x *ModelLabel) GetCreatedAt() int64

func (*ModelLabel) GetId

func (x *ModelLabel) GetId() uint32

func (*ModelLabel) GetLevel

func (x *ModelLabel) GetLevel() int64

func (*ModelLabel) GetName

func (x *ModelLabel) GetName() string

func (*ModelLabel) GetSort

func (x *ModelLabel) GetSort() int64

func (*ModelLabel) GetStatus

func (x *ModelLabel) GetStatus() int64

func (*ModelLabel) GetUpdatedAt

func (x *ModelLabel) GetUpdatedAt() int64

func (*ModelLabel) ProtoMessage

func (*ModelLabel) ProtoMessage()

func (*ModelLabel) ProtoReflect

func (x *ModelLabel) ProtoReflect() protoreflect.Message

func (*ModelLabel) Reset

func (x *ModelLabel) Reset()

func (*ModelLabel) String

func (x *ModelLabel) String() string

type QueryLabelListReq

type QueryLabelListReq 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"`
	Status    int64  `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
	Level     int64  `protobuf:"varint,7,opt,name=level,proto3" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryLabelListReq) Descriptor deprecated

func (*QueryLabelListReq) Descriptor() ([]byte, []int)

Deprecated: Use QueryLabelListReq.ProtoReflect.Descriptor instead.

func (*QueryLabelListReq) GetEndTime

func (x *QueryLabelListReq) GetEndTime() int64

func (*QueryLabelListReq) GetKeyword

func (x *QueryLabelListReq) GetKeyword() string

func (*QueryLabelListReq) GetLevel added in v0.0.21

func (x *QueryLabelListReq) GetLevel() int64

func (*QueryLabelListReq) GetPage

func (x *QueryLabelListReq) GetPage() int32

func (*QueryLabelListReq) GetPageSize

func (x *QueryLabelListReq) GetPageSize() int32

func (*QueryLabelListReq) GetStartTime

func (x *QueryLabelListReq) GetStartTime() int64

func (*QueryLabelListReq) GetStatus added in v0.0.21

func (x *QueryLabelListReq) GetStatus() int64

func (*QueryLabelListReq) ProtoMessage

func (*QueryLabelListReq) ProtoMessage()

func (*QueryLabelListReq) ProtoReflect

func (x *QueryLabelListReq) ProtoReflect() protoreflect.Message

func (*QueryLabelListReq) Reset

func (x *QueryLabelListReq) Reset()

func (*QueryLabelListReq) String

func (x *QueryLabelListReq) String() string

type QueryLabelListResp

type QueryLabelListResp 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      *QueryLabelListRespData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryLabelListResp) Descriptor deprecated

func (*QueryLabelListResp) Descriptor() ([]byte, []int)

Deprecated: Use QueryLabelListResp.ProtoReflect.Descriptor instead.

func (*QueryLabelListResp) GetCode

func (x *QueryLabelListResp) GetCode() int32

func (*QueryLabelListResp) GetData

func (*QueryLabelListResp) GetMsg

func (x *QueryLabelListResp) GetMsg() string

func (*QueryLabelListResp) GetPath

func (x *QueryLabelListResp) GetPath() string

func (*QueryLabelListResp) GetRequestID

func (x *QueryLabelListResp) GetRequestID() string

func (*QueryLabelListResp) ProtoMessage

func (*QueryLabelListResp) ProtoMessage()

func (*QueryLabelListResp) ProtoReflect

func (x *QueryLabelListResp) ProtoReflect() protoreflect.Message

func (*QueryLabelListResp) Reset

func (x *QueryLabelListResp) Reset()

func (*QueryLabelListResp) String

func (x *QueryLabelListResp) String() string

type QueryLabelListRespData

type QueryLabelListRespData struct {
	List     []*ModelLabel `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 (*QueryLabelListRespData) Descriptor deprecated

func (*QueryLabelListRespData) Descriptor() ([]byte, []int)

Deprecated: Use QueryLabelListRespData.ProtoReflect.Descriptor instead.

func (*QueryLabelListRespData) GetList

func (x *QueryLabelListRespData) GetList() []*ModelLabel

func (*QueryLabelListRespData) GetPage

func (x *QueryLabelListRespData) GetPage() int32

func (*QueryLabelListRespData) GetPageSize

func (x *QueryLabelListRespData) GetPageSize() int32

func (*QueryLabelListRespData) GetTotal

func (x *QueryLabelListRespData) GetTotal() int64

func (*QueryLabelListRespData) ProtoMessage

func (*QueryLabelListRespData) ProtoMessage()

func (*QueryLabelListRespData) ProtoReflect

func (x *QueryLabelListRespData) ProtoReflect() protoreflect.Message

func (*QueryLabelListRespData) Reset

func (x *QueryLabelListRespData) Reset()

func (*QueryLabelListRespData) String

func (x *QueryLabelListRespData) String() string

type QueryLabelResp

type QueryLabelResp 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      *ModelLabel `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryLabelResp) Descriptor deprecated

func (*QueryLabelResp) Descriptor() ([]byte, []int)

Deprecated: Use QueryLabelResp.ProtoReflect.Descriptor instead.

func (*QueryLabelResp) GetCode

func (x *QueryLabelResp) GetCode() int32

func (*QueryLabelResp) GetData

func (x *QueryLabelResp) GetData() *ModelLabel

func (*QueryLabelResp) GetMsg

func (x *QueryLabelResp) GetMsg() string

func (*QueryLabelResp) GetPath

func (x *QueryLabelResp) GetPath() string

func (*QueryLabelResp) GetRequestID

func (x *QueryLabelResp) GetRequestID() string

func (*QueryLabelResp) ProtoMessage

func (*QueryLabelResp) ProtoMessage()

func (*QueryLabelResp) ProtoReflect

func (x *QueryLabelResp) ProtoReflect() protoreflect.Message

func (*QueryLabelResp) Reset

func (x *QueryLabelResp) Reset()

func (*QueryLabelResp) String

func (x *QueryLabelResp) String() string

type QueryReq

type QueryReq struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryReq) Descriptor deprecated

func (*QueryReq) Descriptor() ([]byte, []int)

Deprecated: Use QueryReq.ProtoReflect.Descriptor instead.

func (*QueryReq) GetId

func (x *QueryReq) GetId() uint32

func (*QueryReq) ProtoMessage

func (*QueryReq) ProtoMessage()

func (*QueryReq) ProtoReflect

func (x *QueryReq) ProtoReflect() protoreflect.Message

func (*QueryReq) Reset

func (x *QueryReq) Reset()

func (*QueryReq) String

func (x *QueryReq) String() string

type Response

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

func (*Response) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetCode

func (x *Response) GetCode() int32

func (*Response) GetMsg

func (x *Response) GetMsg() string

func (*Response) GetPath

func (x *Response) GetPath() string

func (*Response) GetRequestID

func (x *Response) GetRequestID() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type UnimplementedLabelRpcServiceServer

type UnimplementedLabelRpcServiceServer struct {
}

UnimplementedLabelRpcServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedLabelRpcServiceServer) Create

func (UnimplementedLabelRpcServiceServer) Delete

func (UnimplementedLabelRpcServiceServer) DeleteIds

func (UnimplementedLabelRpcServiceServer) Query

func (UnimplementedLabelRpcServiceServer) QueryList

func (UnimplementedLabelRpcServiceServer) Update

func (UnimplementedLabelRpcServiceServer) UpdateStatus

type UnsafeLabelRpcServiceServer

type UnsafeLabelRpcServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeLabelRpcServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LabelRpcServiceServer will result in compilation errors.

type UpdateLabelReq

type UpdateLabelReq struct {
	Id    uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Sort  int64  `protobuf:"varint,3,opt,name=Sort,proto3" json:"Sort,omitempty"`
	Level int64  `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateLabelReq) Descriptor deprecated

func (*UpdateLabelReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateLabelReq.ProtoReflect.Descriptor instead.

func (*UpdateLabelReq) GetId

func (x *UpdateLabelReq) GetId() uint32

func (*UpdateLabelReq) GetLevel

func (x *UpdateLabelReq) GetLevel() int64

func (*UpdateLabelReq) GetName

func (x *UpdateLabelReq) GetName() string

func (*UpdateLabelReq) GetSort

func (x *UpdateLabelReq) GetSort() int64

func (*UpdateLabelReq) ProtoMessage

func (*UpdateLabelReq) ProtoMessage()

func (*UpdateLabelReq) ProtoReflect

func (x *UpdateLabelReq) ProtoReflect() protoreflect.Message

func (*UpdateLabelReq) Reset

func (x *UpdateLabelReq) Reset()

func (*UpdateLabelReq) String

func (x *UpdateLabelReq) String() string

type UpdateStatusReq

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

func (*UpdateStatusReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateStatusReq.ProtoReflect.Descriptor instead.

func (*UpdateStatusReq) GetId

func (x *UpdateStatusReq) GetId() uint32

func (*UpdateStatusReq) GetStatus

func (x *UpdateStatusReq) GetStatus() int64

func (*UpdateStatusReq) ProtoMessage

func (*UpdateStatusReq) ProtoMessage()

func (*UpdateStatusReq) ProtoReflect

func (x *UpdateStatusReq) ProtoReflect() protoreflect.Message

func (*UpdateStatusReq) Reset

func (x *UpdateStatusReq) Reset()

func (*UpdateStatusReq) String

func (x *UpdateStatusReq) String() string

Jump to

Keyboard shortcuts

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