grpcv1

package
v0.0.0-...-37e7878 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 (a *AntibruteforceService) AddToBlackList(ctx context.Context, in *proto.Subnet) (*proto.Response, error)

func (*AntibruteforceService) AddToWhiteList

func (a *AntibruteforceService) AddToWhiteList(ctx context.Context, in *proto.Subnet) (*proto.Response, error)

func (*AntibruteforceService) AllowRequest

func (a *AntibruteforceService) AllowRequest(ctx context.Context, in *proto.Request) (*proto.Response, error)

func (*AntibruteforceService) ClearBucket

func (*AntibruteforceService) RemoveFromBlackList

func (a *AntibruteforceService) RemoveFromBlackList(ctx context.Context, in *proto.Subnet) (*proto.Response, error)

func (*AntibruteforceService) RemoveFromWhiteList

func (a *AntibruteforceService) RemoveFromWhiteList(ctx context.Context, in *proto.Subnet) (*proto.Response, error)

Jump to

Keyboard shortcuts

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