Documentation ¶
Index ¶
- func StartServer(ctx context.Context) error
- type Limiter
- type Service
- func (s *Service) Flush(ctx context.Context, req *pb.Limiter, ret *pb.Limiter) error
- func (s *Service) List(ctx context.Context, req *pb.Limiter, ret *pb.LimiterList) error
- func (s *Service) NewLimiter(ctx context.Context, req *pb.Limiter, ret *pb.Limiter) error
- func (s *Service) RemoveLimiter(ctx context.Context, req *pb.Limiter, ret *pb.Limiter) error
- func (s *Service) Take(ctx context.Context, req *pb.Limiter, ret *pb.Limiter) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) NewLimiter ¶
func (*Service) RemoveLimiter ¶
Click to show internal directories.
Click to hide internal directories.