Versions in this module Expand all Collapse all v0 v0.8.2 Nov 14, 2026 Changes in this version + const Limiter_Limit_FullMethodName v0.8.1 Nov 14, 2026 Changes in this version + var File_limiter_traffic_proto_limiter_proto protoreflect.FileDescriptor v0.2.1 Aug 14, 2025 Changes in this version + var File_limiter_proto protoreflect.FileDescriptor + var Limiter_ServiceDesc = grpc.ServiceDesc + func RegisterLimiterServer(s grpc.ServiceRegistrar, srv LimiterServer) + type LimitReply struct + In int64 + Out int64 + func (*LimitReply) Descriptor() ([]byte, []int) + func (*LimitReply) ProtoMessage() + func (x *LimitReply) GetIn() int64 + func (x *LimitReply) GetOut() int64 + func (x *LimitReply) ProtoReflect() protoreflect.Message + func (x *LimitReply) Reset() + func (x *LimitReply) String() string + type LimitRequest struct + Addr string + Client string + Network string + Scope string + Service string + Src string + func (*LimitRequest) Descriptor() ([]byte, []int) + func (*LimitRequest) ProtoMessage() + func (x *LimitRequest) GetAddr() string + func (x *LimitRequest) GetClient() string + func (x *LimitRequest) GetNetwork() string + func (x *LimitRequest) GetScope() string + func (x *LimitRequest) GetService() string + func (x *LimitRequest) GetSrc() string + func (x *LimitRequest) ProtoReflect() protoreflect.Message + func (x *LimitRequest) Reset() + func (x *LimitRequest) String() string + type LimiterClient interface + Limit func(ctx context.Context, in *LimitRequest, opts ...grpc.CallOption) (*LimitReply, error) + func NewLimiterClient(cc grpc.ClientConnInterface) LimiterClient + type LimiterServer interface + Limit func(context.Context, *LimitRequest) (*LimitReply, error) + type UnimplementedLimiterServer struct + func (UnimplementedLimiterServer) Limit(context.Context, *LimitRequest) (*LimitReply, error) + type UnsafeLimiterServer interface