Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var DiscordService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "discord.v1.DiscordService", HandlerType: (*DiscordServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, Metadata: "discord-service/discord/v1/discord.proto", }
DiscordService_ServiceDesc is the grpc.ServiceDesc for DiscordService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_discord_service_discord_v1_discord_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDiscordServiceServer ¶
func RegisterDiscordServiceServer(s grpc.ServiceRegistrar, srv DiscordServiceServer)
Types ¶
type DiscordServiceClient ¶
type DiscordServiceClient interface { }
DiscordServiceClient is the client API for DiscordService 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 NewDiscordServiceClient ¶
func NewDiscordServiceClient(cc grpc.ClientConnInterface) DiscordServiceClient
type DiscordServiceServer ¶
type DiscordServiceServer interface {
// contains filtered or unexported methods
}
DiscordServiceServer is the server API for DiscordService service. All implementations must embed UnimplementedDiscordServiceServer for forward compatibility
type UnimplementedDiscordServiceServer ¶
type UnimplementedDiscordServiceServer struct { }
UnimplementedDiscordServiceServer must be embedded to have forward compatible implementations.
type UnsafeDiscordServiceServer ¶
type UnsafeDiscordServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDiscordServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DiscordServiceServer will result in compilation errors.