Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pb_lyft_ratelimit_rls_proto protoreflect.FileDescriptor
Functions ¶
func RegisterRateLimitServiceServer ¶
func RegisterRateLimitServiceServer(s *grpc.Server, srv RateLimitServiceServer)
Types ¶
type RateLimitServiceClient ¶
type RateLimitServiceClient interface {
ShouldRateLimit(ctx context.Context, in *v2.RateLimitRequest, opts ...grpc.CallOption) (*v2.RateLimitResponse, error)
}
RateLimitServiceClient is the client API for RateLimitService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRateLimitServiceClient ¶
func NewRateLimitServiceClient(cc grpc.ClientConnInterface) RateLimitServiceClient
type RateLimitServiceServer ¶
type RateLimitServiceServer interface {
ShouldRateLimit(context.Context, *v2.RateLimitRequest) (*v2.RateLimitResponse, error)
}
RateLimitServiceServer is the server API for RateLimitService service.
type UnimplementedRateLimitServiceServer ¶
type UnimplementedRateLimitServiceServer struct { }
UnimplementedRateLimitServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedRateLimitServiceServer) ShouldRateLimit ¶
func (*UnimplementedRateLimitServiceServer) ShouldRateLimit(context.Context, *v2.RateLimitRequest) (*v2.RateLimitResponse, error)
Click to show internal directories.
Click to hide internal directories.