protos

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_grpc_protos_greeting_proto protoreflect.FileDescriptor
View Source
var Greeting_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protos.Greeting",
	HandlerType: (*GreetingServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetList",
			Handler:    _Greeting_GetList_Handler,
		},
		{
			MethodName: "GetAll",
			Handler:    _Greeting_GetAll_Handler,
		},
		{
			MethodName: "GetDetail",
			Handler:    _Greeting_GetDetail_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _Greeting_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _Greeting_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _Greeting_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/grpc/protos/greeting.proto",
}

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

Functions

func RegisterGreetingServer

func RegisterGreetingServer(s grpc.ServiceRegistrar, srv GreetingServer)

Types

type CreateGreetingParam added in v0.0.4

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

func (*CreateGreetingParam) Descriptor deprecated added in v0.0.4

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

Deprecated: Use CreateGreetingParam.ProtoReflect.Descriptor instead.

func (*CreateGreetingParam) ProtoMessage added in v0.0.4

func (*CreateGreetingParam) ProtoMessage()

func (*CreateGreetingParam) ProtoReflect added in v0.0.4

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

func (*CreateGreetingParam) Reset added in v0.0.4

func (x *CreateGreetingParam) Reset()

func (*CreateGreetingParam) String added in v0.0.4

func (x *CreateGreetingParam) String() string

type CreateGreetingReply added in v0.0.4

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

func (*CreateGreetingReply) Descriptor deprecated added in v0.0.4

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

Deprecated: Use CreateGreetingReply.ProtoReflect.Descriptor instead.

func (*CreateGreetingReply) ProtoMessage added in v0.0.4

func (*CreateGreetingReply) ProtoMessage()

func (*CreateGreetingReply) ProtoReflect added in v0.0.4

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

func (*CreateGreetingReply) Reset added in v0.0.4

func (x *CreateGreetingReply) Reset()

func (*CreateGreetingReply) String added in v0.0.4

func (x *CreateGreetingReply) String() string

type DeleteGreetingParam added in v0.0.4

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

func (*DeleteGreetingParam) Descriptor deprecated added in v0.0.4

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

Deprecated: Use DeleteGreetingParam.ProtoReflect.Descriptor instead.

func (*DeleteGreetingParam) GetId added in v0.0.4

func (x *DeleteGreetingParam) GetId() int64

func (*DeleteGreetingParam) ProtoMessage added in v0.0.4

func (*DeleteGreetingParam) ProtoMessage()

func (*DeleteGreetingParam) ProtoReflect added in v0.0.4

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

func (*DeleteGreetingParam) Reset added in v0.0.4

func (x *DeleteGreetingParam) Reset()

func (*DeleteGreetingParam) String added in v0.0.4

func (x *DeleteGreetingParam) String() string

type DeleteGreetingReply added in v0.0.4

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

func (*DeleteGreetingReply) Descriptor deprecated added in v0.0.4

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

Deprecated: Use DeleteGreetingReply.ProtoReflect.Descriptor instead.

func (*DeleteGreetingReply) ProtoMessage added in v0.0.4

func (*DeleteGreetingReply) ProtoMessage()

func (*DeleteGreetingReply) ProtoReflect added in v0.0.4

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

func (*DeleteGreetingReply) Reset added in v0.0.4

func (x *DeleteGreetingReply) Reset()

func (*DeleteGreetingReply) String added in v0.0.4

func (x *DeleteGreetingReply) String() string

type GetGreetingAllParam added in v0.0.4

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

func (*GetGreetingAllParam) Descriptor deprecated added in v0.0.4

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

Deprecated: Use GetGreetingAllParam.ProtoReflect.Descriptor instead.

func (*GetGreetingAllParam) ProtoMessage added in v0.0.4

func (*GetGreetingAllParam) ProtoMessage()

func (*GetGreetingAllParam) ProtoReflect added in v0.0.4

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

func (*GetGreetingAllParam) Reset added in v0.0.4

func (x *GetGreetingAllParam) Reset()

func (*GetGreetingAllParam) String added in v0.0.4

func (x *GetGreetingAllParam) String() string

type GetGreetingAllReply added in v0.0.4

type GetGreetingAllReply struct {
	Item []*GetGreetingAllReply_List `protobuf:"bytes,1,rep,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGreetingAllReply) Descriptor deprecated added in v0.0.4

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

Deprecated: Use GetGreetingAllReply.ProtoReflect.Descriptor instead.

func (*GetGreetingAllReply) GetItem added in v0.0.4

func (*GetGreetingAllReply) ProtoMessage added in v0.0.4

func (*GetGreetingAllReply) ProtoMessage()

func (*GetGreetingAllReply) ProtoReflect added in v0.0.4

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

func (*GetGreetingAllReply) Reset added in v0.0.4

func (x *GetGreetingAllReply) Reset()

func (*GetGreetingAllReply) String added in v0.0.4

func (x *GetGreetingAllReply) String() string

type GetGreetingAllReply_List added in v0.0.4

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

func (*GetGreetingAllReply_List) Descriptor deprecated added in v0.0.4

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

Deprecated: Use GetGreetingAllReply_List.ProtoReflect.Descriptor instead.

func (*GetGreetingAllReply_List) ProtoMessage added in v0.0.4

func (*GetGreetingAllReply_List) ProtoMessage()

func (*GetGreetingAllReply_List) ProtoReflect added in v0.0.4

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

func (*GetGreetingAllReply_List) Reset added in v0.0.4

func (x *GetGreetingAllReply_List) Reset()

func (*GetGreetingAllReply_List) String added in v0.0.4

func (x *GetGreetingAllReply_List) String() string

type GetGreetingDetailParam added in v0.0.4

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

func (*GetGreetingDetailParam) Descriptor deprecated added in v0.0.4

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

Deprecated: Use GetGreetingDetailParam.ProtoReflect.Descriptor instead.

func (*GetGreetingDetailParam) GetId added in v0.0.4

func (x *GetGreetingDetailParam) GetId() int64

func (*GetGreetingDetailParam) ProtoMessage added in v0.0.4

func (*GetGreetingDetailParam) ProtoMessage()

func (*GetGreetingDetailParam) ProtoReflect added in v0.0.4

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

func (*GetGreetingDetailParam) Reset added in v0.0.4

func (x *GetGreetingDetailParam) Reset()

func (*GetGreetingDetailParam) String added in v0.0.4

func (x *GetGreetingDetailParam) String() string

type GetGreetingDetailReply added in v0.0.4

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

func (*GetGreetingDetailReply) Descriptor deprecated added in v0.0.4

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

Deprecated: Use GetGreetingDetailReply.ProtoReflect.Descriptor instead.

func (*GetGreetingDetailReply) ProtoMessage added in v0.0.4

func (*GetGreetingDetailReply) ProtoMessage()

func (*GetGreetingDetailReply) ProtoReflect added in v0.0.4

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

func (*GetGreetingDetailReply) Reset added in v0.0.4

func (x *GetGreetingDetailReply) Reset()

func (*GetGreetingDetailReply) String added in v0.0.4

func (x *GetGreetingDetailReply) String() string

type GetGreetingListParam

type GetGreetingListParam struct {
	PageIndex int64 `protobuf:"varint,1,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"`
	PageSize  int64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGreetingListParam) Descriptor deprecated

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

Deprecated: Use GetGreetingListParam.ProtoReflect.Descriptor instead.

func (*GetGreetingListParam) GetPageIndex added in v0.0.4

func (x *GetGreetingListParam) GetPageIndex() int64

func (*GetGreetingListParam) GetPageSize added in v0.0.4

func (x *GetGreetingListParam) GetPageSize() int64

func (*GetGreetingListParam) ProtoMessage

func (*GetGreetingListParam) ProtoMessage()

func (*GetGreetingListParam) ProtoReflect

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

func (*GetGreetingListParam) Reset

func (x *GetGreetingListParam) Reset()

func (*GetGreetingListParam) String

func (x *GetGreetingListParam) String() string

type GetGreetingListReply

type GetGreetingListReply struct {
	Item  []*GetGreetingListReply_List `protobuf:"bytes,1,rep,name=item,proto3" json:"item,omitempty"`
	Total int64                        `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGreetingListReply) Descriptor deprecated

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

Deprecated: Use GetGreetingListReply.ProtoReflect.Descriptor instead.

func (*GetGreetingListReply) GetItem added in v0.0.4

func (*GetGreetingListReply) GetTotal added in v0.0.4

func (x *GetGreetingListReply) GetTotal() int64

func (*GetGreetingListReply) ProtoMessage

func (*GetGreetingListReply) ProtoMessage()

func (*GetGreetingListReply) ProtoReflect

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

func (*GetGreetingListReply) Reset

func (x *GetGreetingListReply) Reset()

func (*GetGreetingListReply) String

func (x *GetGreetingListReply) String() string

type GetGreetingListReply_List added in v0.0.4

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

func (*GetGreetingListReply_List) Descriptor deprecated added in v0.0.4

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

Deprecated: Use GetGreetingListReply_List.ProtoReflect.Descriptor instead.

func (*GetGreetingListReply_List) ProtoMessage added in v0.0.4

func (*GetGreetingListReply_List) ProtoMessage()

func (*GetGreetingListReply_List) ProtoReflect added in v0.0.4

func (*GetGreetingListReply_List) Reset added in v0.0.4

func (x *GetGreetingListReply_List) Reset()

func (*GetGreetingListReply_List) String added in v0.0.4

func (x *GetGreetingListReply_List) String() string

type GreetingClient

GreetingClient is the client API for Greeting 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.

func NewGreetingClient

func NewGreetingClient(cc grpc.ClientConnInterface) GreetingClient

type GreetingServer

GreetingServer is the server API for Greeting service. All implementations should embed UnimplementedGreetingServer for forward compatibility

type UnimplementedGreetingServer

type UnimplementedGreetingServer struct {
}

UnimplementedGreetingServer should be embedded to have forward compatible implementations.

func (UnimplementedGreetingServer) Create added in v0.0.4

func (UnimplementedGreetingServer) Delete added in v0.0.4

func (UnimplementedGreetingServer) GetAll added in v0.0.4

func (UnimplementedGreetingServer) GetDetail added in v0.0.4

func (UnimplementedGreetingServer) GetList added in v0.0.4

func (UnimplementedGreetingServer) Update added in v0.0.4

type UnsafeGreetingServer

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

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

type UpdateGreetingParam added in v0.0.4

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

func (*UpdateGreetingParam) Descriptor deprecated added in v0.0.4

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

Deprecated: Use UpdateGreetingParam.ProtoReflect.Descriptor instead.

func (*UpdateGreetingParam) GetId added in v0.0.4

func (x *UpdateGreetingParam) GetId() int64

func (*UpdateGreetingParam) ProtoMessage added in v0.0.4

func (*UpdateGreetingParam) ProtoMessage()

func (*UpdateGreetingParam) ProtoReflect added in v0.0.4

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

func (*UpdateGreetingParam) Reset added in v0.0.4

func (x *UpdateGreetingParam) Reset()

func (*UpdateGreetingParam) String added in v0.0.4

func (x *UpdateGreetingParam) String() string

type UpdateGreetingReply added in v0.0.4

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

func (*UpdateGreetingReply) Descriptor deprecated added in v0.0.4

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

Deprecated: Use UpdateGreetingReply.ProtoReflect.Descriptor instead.

func (*UpdateGreetingReply) ProtoMessage added in v0.0.4

func (*UpdateGreetingReply) ProtoMessage()

func (*UpdateGreetingReply) ProtoReflect added in v0.0.4

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

func (*UpdateGreetingReply) Reset added in v0.0.4

func (x *UpdateGreetingReply) Reset()

func (*UpdateGreetingReply) String added in v0.0.4

func (x *UpdateGreetingReply) String() string

Jump to

Keyboard shortcuts

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