throttle

package
v0.0.0-...-0c1943d Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_wso2_discovery_service_throttle_tdds_proto protoreflect.FileDescriptor

Functions

func RegisterThrottleDataDiscoveryServiceServer

func RegisterThrottleDataDiscoveryServiceServer(s *grpc.Server, srv ThrottleDataDiscoveryServiceServer)

Types

type ThrottleDataDiscoveryServiceClient

type ThrottleDataDiscoveryServiceClient interface {
	StreamThrottleData(ctx context.Context, opts ...grpc.CallOption) (ThrottleDataDiscoveryService_StreamThrottleDataClient, error)
	FetchThrottleData(ctx context.Context, in *v3.DiscoveryRequest, opts ...grpc.CallOption) (*v3.DiscoveryResponse, error)
}

ThrottleDataDiscoveryServiceClient is the client API for ThrottleDataDiscoveryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ThrottleDataDiscoveryServiceServer

type ThrottleDataDiscoveryServiceServer interface {
	StreamThrottleData(ThrottleDataDiscoveryService_StreamThrottleDataServer) error
	FetchThrottleData(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
}

ThrottleDataDiscoveryServiceServer is the server API for ThrottleDataDiscoveryService service.

type ThrottleDataDiscoveryService_StreamThrottleDataClient

type ThrottleDataDiscoveryService_StreamThrottleDataClient interface {
	Send(*v3.DiscoveryRequest) error
	Recv() (*v3.DiscoveryResponse, error)
	grpc.ClientStream
}

type ThrottleDataDiscoveryService_StreamThrottleDataServer

type ThrottleDataDiscoveryService_StreamThrottleDataServer interface {
	Send(*v3.DiscoveryResponse) error
	Recv() (*v3.DiscoveryRequest, error)
	grpc.ServerStream
}

type UnimplementedThrottleDataDiscoveryServiceServer

type UnimplementedThrottleDataDiscoveryServiceServer struct {
}

UnimplementedThrottleDataDiscoveryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedThrottleDataDiscoveryServiceServer) FetchThrottleData

func (*UnimplementedThrottleDataDiscoveryServiceServer) StreamThrottleData

Jump to

Keyboard shortcuts

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