code_mysql_db_gorpc_service

package
v1.0.2-dev-10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_mysql_db_gorpc_proto_pb_service_api_list_proto_proto protoreflect.FileDescriptor

Functions

func NewServiceApiListEndpoints

func NewServiceApiListEndpoints() []*api.Endpoint

func RegisterServiceApiListHandler

func RegisterServiceApiListHandler(s server.Server, hdlr ServiceApiListHandler, opts ...server.HandlerOption) error

Types

type EmptyServiceApiList

type EmptyServiceApiList struct {
	// contains filtered or unexported fields
}

func (*EmptyServiceApiList) Descriptor deprecated

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

Deprecated: Use EmptyServiceApiList.ProtoReflect.Descriptor instead.

func (*EmptyServiceApiList) ProtoMessage

func (*EmptyServiceApiList) ProtoMessage()

func (*EmptyServiceApiList) ProtoReflect

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

func (*EmptyServiceApiList) Reset

func (x *EmptyServiceApiList) Reset()

func (*EmptyServiceApiList) String

func (x *EmptyServiceApiList) String() string

type IchubResultServiceApiList

type IchubResultServiceApiList 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"`
	Pkey []byte `protobuf:"bytes,3,opt,name=pkey,proto3" json:"pkey,omitempty"`
	// contains filtered or unexported fields
}

func (*IchubResultServiceApiList) Descriptor deprecated

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

Deprecated: Use IchubResultServiceApiList.ProtoReflect.Descriptor instead.

func (*IchubResultServiceApiList) GetCode

func (x *IchubResultServiceApiList) GetCode() int32

func (*IchubResultServiceApiList) GetMsg

func (x *IchubResultServiceApiList) GetMsg() string

func (*IchubResultServiceApiList) GetPkey

func (x *IchubResultServiceApiList) GetPkey() []byte

func (*IchubResultServiceApiList) ProtoMessage

func (*IchubResultServiceApiList) ProtoMessage()

func (*IchubResultServiceApiList) ProtoReflect

func (*IchubResultServiceApiList) Reset

func (x *IchubResultServiceApiList) Reset()

func (*IchubResultServiceApiList) String

func (x *IchubResultServiceApiList) String() string

type MessageServiceApiList

type MessageServiceApiList struct {
	Id          string `protobuf:"bytes,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"`
	CreatedBy   string `protobuf:"bytes,5,opt,name=createdBy,proto3" json:"createdBy,omitempty"`
	UpdatedBy   string `protobuf:"bytes,6,opt,name=updatedBy,proto3" json:"updatedBy,omitempty"`
	DeletedBy   string `protobuf:"bytes,7,opt,name=deletedBy,proto3" json:"deletedBy,omitempty"`
	ServiceName string `protobuf:"bytes,8,opt,name=serviceName,proto3" json:"serviceName,omitempty"`
	HttpMethod  string `protobuf:"bytes,9,opt,name=httpMethod,proto3" json:"httpMethod,omitempty"`
	Path        string `protobuf:"bytes,10,opt,name=path,proto3" json:"path,omitempty"`
	Res         string `protobuf:"bytes,11,opt,name=res,proto3" json:"res,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageServiceApiList) Descriptor deprecated

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

Deprecated: Use MessageServiceApiList.ProtoReflect.Descriptor instead.

func (*MessageServiceApiList) GetCreatedAt

func (x *MessageServiceApiList) GetCreatedAt() int64

func (*MessageServiceApiList) GetCreatedBy

func (x *MessageServiceApiList) GetCreatedBy() string

func (*MessageServiceApiList) GetDeletedAt

func (x *MessageServiceApiList) GetDeletedAt() int64

func (*MessageServiceApiList) GetDeletedBy

func (x *MessageServiceApiList) GetDeletedBy() string

func (*MessageServiceApiList) GetHttpMethod

func (x *MessageServiceApiList) GetHttpMethod() string

func (*MessageServiceApiList) GetId

func (x *MessageServiceApiList) GetId() string

func (*MessageServiceApiList) GetPath

func (x *MessageServiceApiList) GetPath() string

func (*MessageServiceApiList) GetRes

func (x *MessageServiceApiList) GetRes() string

func (*MessageServiceApiList) GetServiceName

func (x *MessageServiceApiList) GetServiceName() string

func (*MessageServiceApiList) GetUpdatedAt

func (x *MessageServiceApiList) GetUpdatedAt() int64

func (*MessageServiceApiList) GetUpdatedBy

func (x *MessageServiceApiList) GetUpdatedBy() string

func (*MessageServiceApiList) ProtoMessage

func (*MessageServiceApiList) ProtoMessage()

func (*MessageServiceApiList) ProtoReflect

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

func (*MessageServiceApiList) Reset

func (x *MessageServiceApiList) Reset()

func (*MessageServiceApiList) String

func (x *MessageServiceApiList) String() string

type PageRequestServiceApiList

type PageRequestServiceApiList struct {
	PageCurrent int32  `protobuf:"varint,1,opt,name=pageCurrent,proto3" json:"pageCurrent,omitempty"`
	PageSize    int32  `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	Total       int32  `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	Count       int32  `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	Data        string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*PageRequestServiceApiList) Descriptor deprecated

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

Deprecated: Use PageRequestServiceApiList.ProtoReflect.Descriptor instead.

func (*PageRequestServiceApiList) GetCount

func (x *PageRequestServiceApiList) GetCount() int32

func (*PageRequestServiceApiList) GetData

func (x *PageRequestServiceApiList) GetData() string

func (*PageRequestServiceApiList) GetPageCurrent

func (x *PageRequestServiceApiList) GetPageCurrent() int32

func (*PageRequestServiceApiList) GetPageSize

func (x *PageRequestServiceApiList) GetPageSize() int32

func (*PageRequestServiceApiList) GetTotal

func (x *PageRequestServiceApiList) GetTotal() int32

func (*PageRequestServiceApiList) ProtoMessage

func (*PageRequestServiceApiList) ProtoMessage()

func (*PageRequestServiceApiList) ProtoReflect

func (*PageRequestServiceApiList) Reset

func (x *PageRequestServiceApiList) Reset()

func (*PageRequestServiceApiList) String

func (x *PageRequestServiceApiList) String() string

type PageResultServiceApiList

type PageResultServiceApiList 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"`
	PageCurrent int32  `protobuf:"varint,3,opt,name=pageCurrent,proto3" json:"pageCurrent,omitempty"`
	PageSize    int32  `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	Total       int32  `protobuf:"varint,5,opt,name=total,proto3" json:"total,omitempty"`
	Count       int32  `protobuf:"varint,6,opt,name=count,proto3" json:"count,omitempty"`
	Data        string `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*PageResultServiceApiList) Descriptor deprecated

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

Deprecated: Use PageResultServiceApiList.ProtoReflect.Descriptor instead.

func (*PageResultServiceApiList) GetCode

func (x *PageResultServiceApiList) GetCode() int32

func (*PageResultServiceApiList) GetCount

func (x *PageResultServiceApiList) GetCount() int32

func (*PageResultServiceApiList) GetData

func (x *PageResultServiceApiList) GetData() string

func (*PageResultServiceApiList) GetMsg

func (x *PageResultServiceApiList) GetMsg() string

func (*PageResultServiceApiList) GetPageCurrent

func (x *PageResultServiceApiList) GetPageCurrent() int32

func (*PageResultServiceApiList) GetPageSize

func (x *PageResultServiceApiList) GetPageSize() int32

func (*PageResultServiceApiList) GetTotal

func (x *PageResultServiceApiList) GetTotal() int32

func (*PageResultServiceApiList) ProtoMessage

func (*PageResultServiceApiList) ProtoMessage()

func (*PageResultServiceApiList) ProtoReflect

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

func (*PageResultServiceApiList) Reset

func (x *PageResultServiceApiList) Reset()

func (*PageResultServiceApiList) String

func (x *PageResultServiceApiList) String() string

type RequestServiceApiList

type RequestServiceApiList struct {
	Id  int64  `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	Ids string `protobuf:"bytes,2,opt,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestServiceApiList) Descriptor deprecated

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

Deprecated: Use RequestServiceApiList.ProtoReflect.Descriptor instead.

func (*RequestServiceApiList) GetId

func (x *RequestServiceApiList) GetId() int64

func (*RequestServiceApiList) GetIds

func (x *RequestServiceApiList) GetIds() string

func (*RequestServiceApiList) ProtoMessage

func (*RequestServiceApiList) ProtoMessage()

func (*RequestServiceApiList) ProtoReflect

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

func (*RequestServiceApiList) Reset

func (x *RequestServiceApiList) Reset()

func (*RequestServiceApiList) String

func (x *RequestServiceApiList) String() string

type ServiceApiListHandler

type ServiceApiListHandler interface {
	// 根据 Id 获取
	FindById(context.Context, *RequestServiceApiList, *IchubResultServiceApiList) error
	// 根据主键删除
	DeleteById(context.Context, *RequestServiceApiList, *PageResultServiceApiList) error
	//
	//主键Id为nil or 0新增,!= nil 修改
	Save(context.Context, *MessageServiceApiList, *IchubResultServiceApiList) error
	// 通用查询
	Query(context.Context, *PageRequestServiceApiList, *PageResultServiceApiList) error
	FindByIds(context.Context, *RequestServiceApiList, *PageResultServiceApiList) error
}

type ServiceApiListService

type ServiceApiListService interface {
	// 根据 Id 获取
	FindById(ctx context.Context, in *RequestServiceApiList, opts ...client.CallOption) (*IchubResultServiceApiList, error)
	// 根据主键删除
	DeleteById(ctx context.Context, in *RequestServiceApiList, opts ...client.CallOption) (*PageResultServiceApiList, error)
	//
	//主键Id为nil or 0新增,!= nil 修改
	Save(ctx context.Context, in *MessageServiceApiList, opts ...client.CallOption) (*IchubResultServiceApiList, error)
	// 通用查询
	Query(ctx context.Context, in *PageRequestServiceApiList, opts ...client.CallOption) (*PageResultServiceApiList, error)
	FindByIds(ctx context.Context, in *RequestServiceApiList, opts ...client.CallOption) (*PageResultServiceApiList, error)
}

func NewServiceApiListService

func NewServiceApiListService(name string, c client.Client) ServiceApiListService

Jump to

Keyboard shortcuts

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