s2agrpc

package
v1.4.0-20240430201511-... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	S2AService_SetUpSession_FullMethodName = "/grpc.gcp.s2a.S2AService/SetUpSession"
)

Variables

View Source
var S2AService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "grpc.gcp.s2a.S2AService",
	HandlerType: (*S2AServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SetUpSession",
			Handler:       _S2AService_SetUpSession_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "grpc/gcp/s2a/s2a.proto",
}

S2AService_ServiceDesc is the grpc.ServiceDesc for S2AService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterS2AServiceServer

func RegisterS2AServiceServer(s grpc.ServiceRegistrar, srv S2AServiceServer)

Types

type S2AServiceClient

type S2AServiceClient interface {
	// SetUpSession is a bidirectional stream used by applications to offload
	// operations from the TLS handshake.
	SetUpSession(ctx context.Context, opts ...grpc.CallOption) (S2AService_SetUpSessionClient, error)
}

S2AServiceClient is the client API for S2AService 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 NewS2AServiceClient

func NewS2AServiceClient(cc grpc.ClientConnInterface) S2AServiceClient

type S2AServiceServer

type S2AServiceServer interface {
	// SetUpSession is a bidirectional stream used by applications to offload
	// operations from the TLS handshake.
	SetUpSession(S2AService_SetUpSessionServer) error
}

S2AServiceServer is the server API for S2AService service. All implementations should embed UnimplementedS2AServiceServer for forward compatibility

type S2AService_SetUpSessionClient

type S2AService_SetUpSessionClient interface {
	Send(*s2a.SessionReq) error
	Recv() (*s2a.SessionResp, error)
	grpc.ClientStream
}

type S2AService_SetUpSessionServer

type S2AService_SetUpSessionServer interface {
	Send(*s2a.SessionResp) error
	Recv() (*s2a.SessionReq, error)
	grpc.ServerStream
}

type UnimplementedS2AServiceServer

type UnimplementedS2AServiceServer struct {
}

UnimplementedS2AServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedS2AServiceServer) SetUpSession

type UnsafeS2AServiceServer

type UnsafeS2AServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeS2AServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to S2AServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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