dummmy

package
v0.0.0-...-da59240 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Dummy_CreateDummy_FullMethodName = "/api.dummmy.Dummy/CreateDummy"
	Dummy_UpdateDummy_FullMethodName = "/api.dummmy.Dummy/UpdateDummy"
	Dummy_DeleteDummy_FullMethodName = "/api.dummmy.Dummy/DeleteDummy"
	Dummy_GetDummy_FullMethodName    = "/api.dummmy.Dummy/GetDummy"
	Dummy_ListDummy_FullMethodName   = "/api.dummmy.Dummy/ListDummy"
)

Variables

View Source
var Dummy_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.dummmy.Dummy",
	HandlerType: (*DummyServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateDummy",
			Handler:    _Dummy_CreateDummy_Handler,
		},
		{
			MethodName: "UpdateDummy",
			Handler:    _Dummy_UpdateDummy_Handler,
		},
		{
			MethodName: "DeleteDummy",
			Handler:    _Dummy_DeleteDummy_Handler,
		},
		{
			MethodName: "GetDummy",
			Handler:    _Dummy_GetDummy_Handler,
		},
		{
			MethodName: "ListDummy",
			Handler:    _Dummy_ListDummy_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "dummmy/dummy.proto",
}

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

View Source
var File_dummmy_dummy_proto protoreflect.FileDescriptor

Functions

func RegisterDummyServer

func RegisterDummyServer(s grpc.ServiceRegistrar, srv DummyServer)

Types

type CreateDummyReply

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

func (*CreateDummyReply) Descriptor deprecated

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

Deprecated: Use CreateDummyReply.ProtoReflect.Descriptor instead.

func (*CreateDummyReply) ProtoMessage

func (*CreateDummyReply) ProtoMessage()

func (*CreateDummyReply) ProtoReflect

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

func (*CreateDummyReply) Reset

func (x *CreateDummyReply) Reset()

func (*CreateDummyReply) String

func (x *CreateDummyReply) String() string

type CreateDummyRequest

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

func (*CreateDummyRequest) Descriptor deprecated

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

Deprecated: Use CreateDummyRequest.ProtoReflect.Descriptor instead.

func (*CreateDummyRequest) ProtoMessage

func (*CreateDummyRequest) ProtoMessage()

func (*CreateDummyRequest) ProtoReflect

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

func (*CreateDummyRequest) Reset

func (x *CreateDummyRequest) Reset()

func (*CreateDummyRequest) String

func (x *CreateDummyRequest) String() string

type DeleteDummyReply

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

func (*DeleteDummyReply) Descriptor deprecated

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

Deprecated: Use DeleteDummyReply.ProtoReflect.Descriptor instead.

func (*DeleteDummyReply) ProtoMessage

func (*DeleteDummyReply) ProtoMessage()

func (*DeleteDummyReply) ProtoReflect

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

func (*DeleteDummyReply) Reset

func (x *DeleteDummyReply) Reset()

func (*DeleteDummyReply) String

func (x *DeleteDummyReply) String() string

type DeleteDummyRequest

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

func (*DeleteDummyRequest) Descriptor deprecated

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

Deprecated: Use DeleteDummyRequest.ProtoReflect.Descriptor instead.

func (*DeleteDummyRequest) ProtoMessage

func (*DeleteDummyRequest) ProtoMessage()

func (*DeleteDummyRequest) ProtoReflect

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

func (*DeleteDummyRequest) Reset

func (x *DeleteDummyRequest) Reset()

func (*DeleteDummyRequest) String

func (x *DeleteDummyRequest) String() string

type DummyClient

type DummyClient interface {
	CreateDummy(ctx context.Context, in *CreateDummyRequest, opts ...grpc.CallOption) (*CreateDummyReply, error)
	UpdateDummy(ctx context.Context, in *UpdateDummyRequest, opts ...grpc.CallOption) (*UpdateDummyReply, error)
	DeleteDummy(ctx context.Context, in *DeleteDummyRequest, opts ...grpc.CallOption) (*DeleteDummyReply, error)
	GetDummy(ctx context.Context, in *GetDummyRequest, opts ...grpc.CallOption) (*GetDummyReply, error)
	ListDummy(ctx context.Context, in *ListDummyRequest, opts ...grpc.CallOption) (*ListDummyReply, error)
}

DummyClient is the client API for Dummy 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 NewDummyClient

func NewDummyClient(cc grpc.ClientConnInterface) DummyClient

type DummyServer

type DummyServer interface {
	CreateDummy(context.Context, *CreateDummyRequest) (*CreateDummyReply, error)
	UpdateDummy(context.Context, *UpdateDummyRequest) (*UpdateDummyReply, error)
	DeleteDummy(context.Context, *DeleteDummyRequest) (*DeleteDummyReply, error)
	GetDummy(context.Context, *GetDummyRequest) (*GetDummyReply, error)
	ListDummy(context.Context, *ListDummyRequest) (*ListDummyReply, error)
	// contains filtered or unexported methods
}

DummyServer is the server API for Dummy service. All implementations must embed UnimplementedDummyServer for forward compatibility

type GetDummyReply

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

func (*GetDummyReply) Descriptor deprecated

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

Deprecated: Use GetDummyReply.ProtoReflect.Descriptor instead.

func (*GetDummyReply) ProtoMessage

func (*GetDummyReply) ProtoMessage()

func (*GetDummyReply) ProtoReflect

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

func (*GetDummyReply) Reset

func (x *GetDummyReply) Reset()

func (*GetDummyReply) String

func (x *GetDummyReply) String() string

type GetDummyRequest

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

func (*GetDummyRequest) Descriptor deprecated

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

Deprecated: Use GetDummyRequest.ProtoReflect.Descriptor instead.

func (*GetDummyRequest) ProtoMessage

func (*GetDummyRequest) ProtoMessage()

func (*GetDummyRequest) ProtoReflect

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

func (*GetDummyRequest) Reset

func (x *GetDummyRequest) Reset()

func (*GetDummyRequest) String

func (x *GetDummyRequest) String() string

type ListDummyReply

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

func (*ListDummyReply) Descriptor deprecated

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

Deprecated: Use ListDummyReply.ProtoReflect.Descriptor instead.

func (*ListDummyReply) ProtoMessage

func (*ListDummyReply) ProtoMessage()

func (*ListDummyReply) ProtoReflect

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

func (*ListDummyReply) Reset

func (x *ListDummyReply) Reset()

func (*ListDummyReply) String

func (x *ListDummyReply) String() string

type ListDummyRequest

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

func (*ListDummyRequest) Descriptor deprecated

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

Deprecated: Use ListDummyRequest.ProtoReflect.Descriptor instead.

func (*ListDummyRequest) ProtoMessage

func (*ListDummyRequest) ProtoMessage()

func (*ListDummyRequest) ProtoReflect

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

func (*ListDummyRequest) Reset

func (x *ListDummyRequest) Reset()

func (*ListDummyRequest) String

func (x *ListDummyRequest) String() string

type UnimplementedDummyServer

type UnimplementedDummyServer struct {
}

UnimplementedDummyServer must be embedded to have forward compatible implementations.

func (UnimplementedDummyServer) CreateDummy

func (UnimplementedDummyServer) DeleteDummy

func (UnimplementedDummyServer) GetDummy

func (UnimplementedDummyServer) ListDummy

func (UnimplementedDummyServer) UpdateDummy

type UnsafeDummyServer

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

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

type UpdateDummyReply

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

func (*UpdateDummyReply) Descriptor deprecated

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

Deprecated: Use UpdateDummyReply.ProtoReflect.Descriptor instead.

func (*UpdateDummyReply) ProtoMessage

func (*UpdateDummyReply) ProtoMessage()

func (*UpdateDummyReply) ProtoReflect

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

func (*UpdateDummyReply) Reset

func (x *UpdateDummyReply) Reset()

func (*UpdateDummyReply) String

func (x *UpdateDummyReply) String() string

type UpdateDummyRequest

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

func (*UpdateDummyRequest) Descriptor deprecated

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

Deprecated: Use UpdateDummyRequest.ProtoReflect.Descriptor instead.

func (*UpdateDummyRequest) ProtoMessage

func (*UpdateDummyRequest) ProtoMessage()

func (*UpdateDummyRequest) ProtoReflect

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

func (*UpdateDummyRequest) Reset

func (x *UpdateDummyRequest) Reset()

func (*UpdateDummyRequest) String

func (x *UpdateDummyRequest) String() string

Jump to

Keyboard shortcuts

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