common

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_common_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Page

type Page struct {
	Page        int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PerPage     int32 `protobuf:"varint,2,opt,name=perPage,proto3" json:"perPage,omitempty"`
	TotalPage   int32 `protobuf:"varint,3,opt,name=totalPage,proto3" json:"totalPage,omitempty"`
	TotalRecord int32 `protobuf:"varint,4,opt,name=totalRecord,proto3" json:"totalRecord,omitempty"`
	// contains filtered or unexported fields
}

func (*Page) Descriptor deprecated

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

Deprecated: Use Page.ProtoReflect.Descriptor instead.

func (*Page) GetPage

func (x *Page) GetPage() int32

func (*Page) GetPerPage

func (x *Page) GetPerPage() int32

func (*Page) GetTotalPage

func (x *Page) GetTotalPage() int32

func (*Page) GetTotalRecord

func (x *Page) GetTotalRecord() int32

func (*Page) ProtoMessage

func (*Page) ProtoMessage()

func (*Page) ProtoReflect

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

func (*Page) Reset

func (x *Page) Reset()

func (*Page) String

func (x *Page) String() string

type Response

type Response struct {
	Status     *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	InstanceId string  `protobuf:"bytes,2,opt,name=instanceId,proto3" json:"instanceId,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetInstanceId

func (x *Response) GetInstanceId() string

func (*Response) GetStatus

func (x *Response) GetStatus() *Status

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 Status

type Status struct {
	TraceId string `protobuf:"bytes,1,opt,name=traceId,proto3" json:"traceId,omitempty"`
	Code    int32  `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Status) Descriptor deprecated

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetCode

func (x *Status) GetCode() int32

func (*Status) GetMessage

func (x *Status) GetMessage() string

func (*Status) GetTraceId

func (x *Status) GetTraceId() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

Jump to

Keyboard shortcuts

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