Documentation ¶
Index ¶
Constants ¶
View Source
const ( ActionAllow = iota ActionDeny ActionDrop ActionRedirect )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCHandler ¶
type GRPCHandler struct { pb.UnimplementedNginxFilterServer WAF coraza.WAF Logger zap.Logger }
GRPCHandler implements a filter based on gRPC TODO: should create an interface for other implementations?
func (*GRPCHandler) Handle ¶
func (s *GRPCHandler) Handle(ctx context.Context, req *pb.FilterRequest) (*pb.Decision, error)
Click to show internal directories.
Click to hide internal directories.