v1

package
v0.3.14 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_template_template_v1_template_proto protoreflect.FileDescriptor
View Source
var TemplateService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "discord.v1.TemplateService",
	HandlerType: (*TemplateServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DummyEndpoint",
			Handler:    _TemplateService_DummyEndpoint_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "template/template/v1/template.proto",
}

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

Functions

func RegisterTemplateServiceServer

func RegisterTemplateServiceServer(s grpc.ServiceRegistrar, srv TemplateServiceServer)

Types

type DummyRequest

type DummyRequest struct {
	Dummy string `protobuf:"bytes,1,opt,name=dummy,proto3" json:"dummy,omitempty"`
	// contains filtered or unexported fields
}

func (*DummyRequest) Descriptor deprecated

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

Deprecated: Use DummyRequest.ProtoReflect.Descriptor instead.

func (*DummyRequest) GetDummy

func (x *DummyRequest) GetDummy() string

func (*DummyRequest) ProtoMessage

func (*DummyRequest) ProtoMessage()

func (*DummyRequest) ProtoReflect

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

func (*DummyRequest) Reset

func (x *DummyRequest) Reset()

func (*DummyRequest) String

func (x *DummyRequest) String() string

type DummyResponse

type DummyResponse struct {
	Dummy string `protobuf:"bytes,1,opt,name=dummy,proto3" json:"dummy,omitempty"`
	// contains filtered or unexported fields
}

func (*DummyResponse) Descriptor deprecated

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

Deprecated: Use DummyResponse.ProtoReflect.Descriptor instead.

func (*DummyResponse) GetDummy

func (x *DummyResponse) GetDummy() string

func (*DummyResponse) ProtoMessage

func (*DummyResponse) ProtoMessage()

func (*DummyResponse) ProtoReflect

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

func (*DummyResponse) Reset

func (x *DummyResponse) Reset()

func (*DummyResponse) String

func (x *DummyResponse) String() string

type TemplateServiceClient

type TemplateServiceClient interface {
	DummyEndpoint(ctx context.Context, in *DummyRequest, opts ...grpc.CallOption) (*DummyResponse, error)
}

TemplateServiceClient is the client API for TemplateService 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 TemplateServiceServer

type TemplateServiceServer interface {
	DummyEndpoint(context.Context, *DummyRequest) (*DummyResponse, error)
	// contains filtered or unexported methods
}

TemplateServiceServer is the server API for TemplateService service. All implementations must embed UnimplementedTemplateServiceServer for forward compatibility

type UnimplementedTemplateServiceServer

type UnimplementedTemplateServiceServer struct {
}

UnimplementedTemplateServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTemplateServiceServer) DummyEndpoint

type UnsafeTemplateServiceServer

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

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

Jump to

Keyboard shortcuts

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