Documentation ¶
Index ¶
- Variables
- func RegisterFlamingoGrpcDebugServer(s grpc.ServiceRegistrar, srv FlamingoGrpcDebugServer)
- type FlamingoGrpcDebugClient
- type FlamingoGrpcDebugServer
- type IdentifyRequest
- type IdentityResponse
- func (*IdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IdentityResponse) GetIdentifier() string
- func (x *IdentityResponse) GetSubject() string
- func (*IdentityResponse) ProtoMessage()
- func (x *IdentityResponse) ProtoReflect() protoreflect.Message
- func (x *IdentityResponse) Reset()
- func (x *IdentityResponse) String() string
- type Module
- type UnimplementedFlamingoGrpcDebugServer
- type UnsafeFlamingoGrpcDebugServer
Constants ¶
This section is empty.
Variables ¶
var File_debug_proto protoreflect.FileDescriptor
var FlamingoGrpcDebug_ServiceDesc = grpc.ServiceDesc{ ServiceName: "FlamingoGrpcDebug", HandlerType: (*FlamingoGrpcDebugServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Identify", Handler: _FlamingoGrpcDebug_Identify_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "debug.proto", }
FlamingoGrpcDebug_ServiceDesc is the grpc.ServiceDesc for FlamingoGrpcDebug service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterFlamingoGrpcDebugServer ¶
func RegisterFlamingoGrpcDebugServer(s grpc.ServiceRegistrar, srv FlamingoGrpcDebugServer)
Types ¶
type FlamingoGrpcDebugClient ¶
type FlamingoGrpcDebugClient interface {
Identify(ctx context.Context, in *IdentifyRequest, opts ...grpc.CallOption) (*IdentityResponse, error)
}
FlamingoGrpcDebugClient is the client API for FlamingoGrpcDebug 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 NewFlamingoGrpcDebugClient ¶
func NewFlamingoGrpcDebugClient(cc grpc.ClientConnInterface) FlamingoGrpcDebugClient
type FlamingoGrpcDebugServer ¶
type FlamingoGrpcDebugServer interface { Identify(context.Context, *IdentifyRequest) (*IdentityResponse, error) // contains filtered or unexported methods }
FlamingoGrpcDebugServer is the server API for FlamingoGrpcDebug service. All implementations must embed UnimplementedFlamingoGrpcDebugServer for forward compatibility
type IdentifyRequest ¶
type IdentifyRequest struct {
// contains filtered or unexported fields
}
func (*IdentifyRequest) Descriptor
deprecated
func (*IdentifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use IdentifyRequest.ProtoReflect.Descriptor instead.
func (*IdentifyRequest) ProtoMessage ¶
func (*IdentifyRequest) ProtoMessage()
func (*IdentifyRequest) ProtoReflect ¶
func (x *IdentifyRequest) ProtoReflect() protoreflect.Message
func (*IdentifyRequest) Reset ¶
func (x *IdentifyRequest) Reset()
func (*IdentifyRequest) String ¶
func (x *IdentifyRequest) String() string
type IdentityResponse ¶
type IdentityResponse struct { Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"` // contains filtered or unexported fields }
func (*IdentityResponse) Descriptor
deprecated
func (*IdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use IdentityResponse.ProtoReflect.Descriptor instead.
func (*IdentityResponse) GetIdentifier ¶
func (x *IdentityResponse) GetIdentifier() string
func (*IdentityResponse) GetSubject ¶
func (x *IdentityResponse) GetSubject() string
func (*IdentityResponse) ProtoMessage ¶
func (*IdentityResponse) ProtoMessage()
func (*IdentityResponse) ProtoReflect ¶
func (x *IdentityResponse) ProtoReflect() protoreflect.Message
func (*IdentityResponse) Reset ¶
func (x *IdentityResponse) Reset()
func (*IdentityResponse) String ¶
func (x *IdentityResponse) String() string
type UnimplementedFlamingoGrpcDebugServer ¶
type UnimplementedFlamingoGrpcDebugServer struct { }
UnimplementedFlamingoGrpcDebugServer must be embedded to have forward compatible implementations.
func (UnimplementedFlamingoGrpcDebugServer) Identify ¶
func (UnimplementedFlamingoGrpcDebugServer) Identify(context.Context, *IdentifyRequest) (*IdentityResponse, error)
type UnsafeFlamingoGrpcDebugServer ¶
type UnsafeFlamingoGrpcDebugServer interface {
// contains filtered or unexported methods
}
UnsafeFlamingoGrpcDebugServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FlamingoGrpcDebugServer will result in compilation errors.