Documentation ¶
Overview ¶
Package modsec is a generated protocol buffer package.
It is generated from these files:
modsec/pb/modsec.proto
It has these top-level messages:
RuleSets RuleSet
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterModuleModsecServer ¶
func RegisterModuleModsecServer(s *grpc.Server, srv ModuleModsecServer)
Types ¶
type ModuleModsecClient ¶
type ModuleModsecClient interface {
GetRules(ctx context.Context, in *google_protobuf.Empty, opts ...grpc.CallOption) (*RuleSets, error)
}
func NewModuleModsecClient ¶
func NewModuleModsecClient(cc *grpc.ClientConn) ModuleModsecClient
type ModuleModsecServer ¶
type RuleSet ¶
type RuleSet struct { Rules string `protobuf:"bytes,1,opt,name=rules" json:"rules,omitempty"` // Worker is not supposed to do anything with the // filename, other than display it to the user in // case it contains errors Filename string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"` }
func (*RuleSet) Descriptor ¶
func (*RuleSet) GetFilename ¶
func (*RuleSet) ProtoMessage ¶
func (*RuleSet) ProtoMessage()
type RuleSets ¶
type RuleSets struct {
RuleSets []*RuleSet `protobuf:"bytes,1,rep,name=RuleSets" json:"RuleSets,omitempty"`
}
func (*RuleSets) Descriptor ¶
func (*RuleSets) GetRuleSets ¶
func (*RuleSets) ProtoMessage ¶
func (*RuleSets) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.