Documentation ¶
Index ¶
- type AntiBruteForceServer
- func (a *AntiBruteForceServer) AddToBlackList(ctx context.Context, req *api.AddToBlackListRequest) (*api.AddToBlackListResponse, error)
- func (a *AntiBruteForceServer) AddToWhiteList(ctx context.Context, req *api.AddToWhiteListRequest) (*api.AddToWhiteListResponse, error)
- func (a *AntiBruteForceServer) CheckAuth(ctx context.Context, req *api.CheckAuthRequest) (*api.CheckAuthResponse, error)
- func (a *AntiBruteForceServer) DeleteFromBlackList(ctx context.Context, req *api.DeleteFromBlackListRequest) (*api.DeleteFromBlackListResponse, error)
- func (a *AntiBruteForceServer) DeleteFromWhiteList(ctx context.Context, req *api.DeleteFromWhiteListRequest) (*api.DeleteFromWhiteListResponse, error)
- func (a *AntiBruteForceServer) ResetLimit(ctx context.Context, req *api.ResetLimitRequest) (*api.ResetLimitResponse, error)
- func (a *AntiBruteForceServer) Serve(addr string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AntiBruteForceServer ¶
type AntiBruteForceServer struct {
AntiBruteForceService *services.AntiBruteForceService
}
AntiBruteForceServer struct
func NewAntiBruteForceServer ¶
func NewAntiBruteForceServer(antiBruteForceService *services.AntiBruteForceService) *AntiBruteForceServer
NewAntiBruteForceServer gRPC server constructor
func (*AntiBruteForceServer) AddToBlackList ¶
func (a *AntiBruteForceServer) AddToBlackList(ctx context.Context, req *api.AddToBlackListRequest) (*api.AddToBlackListResponse, error)
AddToBlackList gRPC wrapper for AddToBlackList method
func (*AntiBruteForceServer) AddToWhiteList ¶
func (a *AntiBruteForceServer) AddToWhiteList(ctx context.Context, req *api.AddToWhiteListRequest) (*api.AddToWhiteListResponse, error)
AddToWhiteList gRPC wrapper for AddToWhiteList method
func (*AntiBruteForceServer) CheckAuth ¶
func (a *AntiBruteForceServer) CheckAuth(ctx context.Context, req *api.CheckAuthRequest) (*api.CheckAuthResponse, error)
CheckAuth gRPC wrapper for CheckAuth method
func (*AntiBruteForceServer) DeleteFromBlackList ¶
func (a *AntiBruteForceServer) DeleteFromBlackList(ctx context.Context, req *api.DeleteFromBlackListRequest) (*api.DeleteFromBlackListResponse, error)
DeleteFromBlackList gRPC wrapper for DeleteFromBlackList method
func (*AntiBruteForceServer) DeleteFromWhiteList ¶
func (a *AntiBruteForceServer) DeleteFromWhiteList(ctx context.Context, req *api.DeleteFromWhiteListRequest) (*api.DeleteFromWhiteListResponse, error)
DeleteFromWhiteList gRPC wrapper for DeleteFromWhiteList method
func (*AntiBruteForceServer) ResetLimit ¶
func (a *AntiBruteForceServer) ResetLimit(ctx context.Context, req *api.ResetLimitRequest) (*api.ResetLimitResponse, error)
ResetLimit gRPC wrapper for ResetLimit method
func (*AntiBruteForceServer) Serve ¶
func (a *AntiBruteForceServer) Serve(addr string) error
Serve gRPC server
Click to show internal directories.
Click to hide internal directories.