Documentation
¶
Index ¶
- type AntibruteforceService
- func (a *AntibruteforceService) AddToBlackList(ctx context.Context, in *proto.Subnet) (*proto.Response, error)
- func (a *AntibruteforceService) AddToWhiteList(ctx context.Context, in *proto.Subnet) (*proto.Response, error)
- func (a *AntibruteforceService) AllowRequest(ctx context.Context, in *proto.Request) (*proto.Response, error)
- func (a *AntibruteforceService) ClearBucket(_ context.Context, in *proto.Request) (*proto.Response, error)
- func (a *AntibruteforceService) RemoveFromBlackList(ctx context.Context, in *proto.Subnet) (*proto.Response, error)
- func (a *AntibruteforceService) RemoveFromWhiteList(ctx context.Context, in *proto.Subnet) (*proto.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AntibruteforceService ¶
type AntibruteforceService struct { proto.UnimplementedAntiBruteforceServer // contains filtered or unexported fields }
func NewAntibruteforceService ¶
func NewAntibruteforceService(u *usecase.UseCases, logg *zap.Logger) *AntibruteforceService
func (*AntibruteforceService) AddToBlackList ¶
func (*AntibruteforceService) AddToWhiteList ¶
func (*AntibruteforceService) AllowRequest ¶
func (*AntibruteforceService) ClearBucket ¶
func (*AntibruteforceService) RemoveFromBlackList ¶
func (*AntibruteforceService) RemoveFromWhiteList ¶
Click to show internal directories.
Click to hide internal directories.