debug

package
v0.0.0-...-9fd10f7 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_debug_proto protoreflect.FileDescriptor
View Source
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.

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 Module

type Module struct{}

func (*Module) Configure

func (*Module) Configure(injector *dingo.Injector)

type UnimplementedFlamingoGrpcDebugServer

type UnimplementedFlamingoGrpcDebugServer struct {
}

UnimplementedFlamingoGrpcDebugServer must be embedded to have forward compatible implementations.

func (UnimplementedFlamingoGrpcDebugServer) Identify

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.

Jump to

Keyboard shortcuts

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