Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_template_template_v1_template_proto protoreflect.FileDescriptor
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.
func NewTemplateServiceClient ¶
func NewTemplateServiceClient(cc grpc.ClientConnInterface) TemplateServiceClient
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 ¶
func (UnimplementedTemplateServiceServer) DummyEndpoint(context.Context, *DummyRequest) (*DummyResponse, error)
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.