Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

debug

v0.0.0-20221109163355-9fd10f757f75
flamingo.me/grpc/debug

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

28 matches

Top ↑

Variables

File_debug_proto

var File_debug_proto protoreflect.FileDescriptor

FlamingoGrpcDebug_ServiceDesc

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

RegisterFlamingoGrpcDebugServer

func RegisterFlamingoGrpcDebugServer(s grpc.ServiceRegistrar, srv FlamingoGrpcDebugServer)

Types

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.

NewFlamingoGrpcDebugClient

func NewFlamingoGrpcDebugClient(cc grpc.ClientConnInterface) FlamingoGrpcDebugClient

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

IdentifyRequest

type IdentifyRequest struct {
	// contains filtered or unexported fields
}

IdentifyRequest.Descriptor

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

Deprecated: Use IdentifyRequest.ProtoReflect.Descriptor instead.

IdentifyRequest.ProtoMessage

func (*IdentifyRequest) ProtoMessage()

IdentifyRequest.ProtoReflect

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

IdentifyRequest.Reset

func (x *IdentifyRequest) Reset()

IdentifyRequest.String

func (x *IdentifyRequest) String() string

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
}

IdentityResponse.Descriptor

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

Deprecated: Use IdentityResponse.ProtoReflect.Descriptor instead.

IdentityResponse.GetIdentifier

func (x *IdentityResponse) GetIdentifier() string

IdentityResponse.GetSubject

func (x *IdentityResponse) GetSubject() string

IdentityResponse.ProtoMessage

func (*IdentityResponse) ProtoMessage()

IdentityResponse.ProtoReflect

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

IdentityResponse.Reset

func (x *IdentityResponse) Reset()

IdentityResponse.String

func (x *IdentityResponse) String() string

Module

type Module struct{}

Module.Configure

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

UnimplementedFlamingoGrpcDebugServer

type UnimplementedFlamingoGrpcDebugServer struct {
}

UnimplementedFlamingoGrpcDebugServer must be embedded to have forward compatible implementations.

UnimplementedFlamingoGrpcDebugServer.Identify

func (UnimplementedFlamingoGrpcDebugServer) Identify(context.Context, *IdentifyRequest) (*IdentityResponse, error)

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.

Dependency graph