Documentation
¶
Index ¶
- type AddACL
- type AddHeader
- type Allow
- type Auth
- type Capture
- type DelACL
- type DelHeader
- type Deny
- type Redirect
- type Reject
- type ReplaceHeader
- type ReplacePath
- type ReplaceValue
- type SendSpoeGroup
- type SetHeader
- type SetLogLevel
- type SetPath
- type SetQuery
- type SetStatus
- type SetURI
- type SetVar
- type Tarpit
- type TrackSc0
- type TrackSc1
- type TrackSc2
- type UseService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddACL ¶
func (*AddACL) GetComment ¶
type AddHeader ¶
func (*AddHeader) GetComment ¶
type Allow ¶
func (*Allow) GetComment ¶
type Auth ¶
func (*Auth) GetComment ¶
type Capture ¶
type Capture struct { Sample string Len *int64 // Has to be > 0. SlotID *int64 Cond string CondTest string Comment string }
func (*Capture) GetComment ¶
type DelACL ¶
func (*DelACL) GetComment ¶
type DelHeader ¶
func (*DelHeader) GetComment ¶
type Deny ¶
func (*Deny) GetComment ¶
type Redirect ¶
type Redirect struct { Type string Value string Code string Option string Cond string CondTest string Comment string }
func (*Redirect) GetComment ¶
type Reject ¶
func (*Reject) GetComment ¶
type ReplaceHeader ¶
type ReplaceHeader struct { Name string MatchRegex string ReplaceFmt string Cond string CondTest string Comment string }
func (*ReplaceHeader) GetComment ¶
func (f *ReplaceHeader) GetComment() string
func (*ReplaceHeader) String ¶
func (f *ReplaceHeader) String() string
type ReplacePath ¶ added in v2.0.1
type ReplacePath struct { MatchRegex string ReplaceFmt string Cond string CondTest string Comment string }
func (*ReplacePath) GetComment ¶ added in v2.0.1
func (f *ReplacePath) GetComment() string
func (*ReplacePath) Parse ¶ added in v2.0.1
func (f *ReplacePath) Parse(parts []string, comment string) error
func (*ReplacePath) String ¶ added in v2.0.1
func (f *ReplacePath) String() string
type ReplaceValue ¶
type ReplaceValue struct { Name string MatchRegex string ReplaceFmt string Cond string CondTest string Comment string }
func (*ReplaceValue) GetComment ¶
func (f *ReplaceValue) GetComment() string
func (*ReplaceValue) String ¶
func (f *ReplaceValue) String() string
type SendSpoeGroup ¶
func (*SendSpoeGroup) GetComment ¶
func (f *SendSpoeGroup) GetComment() string
func (*SendSpoeGroup) String ¶
func (f *SendSpoeGroup) String() string
type SetHeader ¶
func (*SetHeader) GetComment ¶
type SetLogLevel ¶
func (*SetLogLevel) GetComment ¶
func (f *SetLogLevel) GetComment() string
func (*SetLogLevel) String ¶
func (f *SetLogLevel) String() string
type SetPath ¶
func (*SetPath) GetComment ¶
type SetQuery ¶
func (*SetQuery) GetComment ¶
type SetStatus ¶
func (*SetStatus) GetComment ¶
type SetURI ¶
func (*SetURI) GetComment ¶
type SetVar ¶
type SetVar struct { VarScope string VarName string Expr common.Expression Cond string CondTest string Comment string }
func (*SetVar) GetComment ¶
type Tarpit ¶
func (*Tarpit) GetComment ¶
type TrackSc0 ¶
func (*TrackSc0) GetComment ¶
type TrackSc1 ¶
func (*TrackSc1) GetComment ¶
type TrackSc2 ¶
func (*TrackSc2) GetComment ¶
type UseService ¶
func (*UseService) GetComment ¶
func (us *UseService) GetComment() string
func (*UseService) Parse ¶
func (us *UseService) Parse(parts []string, comment string) error
Parse parses http-request user-service <name> [ { if | unless } <condition> ]
func (*UseService) String ¶
func (us *UseService) String() string
Source Files
¶
- add-acl.go
- add-header.go
- allow.go
- auth.go
- capture.go
- del-acl.go
- del-header.go
- deny.go
- redirect.go
- reject.go
- replace-header.go
- replace-path.go
- replace-value.go
- send-spoe-group.go
- set-header.go
- set-log-level.go
- set-path.go
- set-query.go
- set-status.go
- set-uri.go
- set-var.go
- tarpit.go
- track-sc0.go
- track-sc1.go
- track-sc2.go
- use-service.go
Click to show internal directories.
Click to hide internal directories.