Documentation ¶
Index ¶
- func AllowedErrorCode(code int64) bool
- func AllowedErrorStatusCode(code int64) bool
- func IsPayload(in string) bool
- type AddACL
- type AddHeader
- type Allow
- type Auth
- type CacheStore
- type CacheUse
- type Capture
- type CheckComment
- type CheckDisableOn404
- type CheckSend
- type CheckSendHeader
- type CheckSendState
- type DelACL
- type DelHeader
- type DelMap
- type Deny
- type DisableL7Retry
- type EarlyHint
- type Hdr
- type NormalizeURI
- type Redirect
- type ReplaceHeader
- type ReplacePath
- type ReplacePathQ
- type ReplaceURI
- type ReplaceValue
- type Return
- type SetHeader
- type SetMap
- type SetMethod
- type SetPath
- type SetPathQ
- type SetQuery
- type SetSrc
- type SetStatus
- type SetTimeout
- type SetURI
- type Status
- type StrictMode
- type Tarpit
- type WaitForBody
- type WaitForHandshake
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowedErrorCode ¶
func AllowedErrorStatusCode ¶
Types ¶
type CacheStore ¶
func (*CacheStore) GetComment ¶
func (f *CacheStore) GetComment() string
func (*CacheStore) Parse ¶
func (f *CacheStore) Parse(parts []string, parserType types.ParserType, comment string) error
func (*CacheStore) String ¶
func (f *CacheStore) String() string
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 CheckComment ¶
http-check comment <string>
func (*CheckComment) GetComment ¶
func (c *CheckComment) GetComment() string
func (*CheckComment) Parse ¶
func (c *CheckComment) Parse(parts []string, parserType types.ParserType, comment string) error
func (*CheckComment) String ¶
func (c *CheckComment) String() string
type CheckDisableOn404 ¶
type CheckDisableOn404 struct {
Comment string
}
http-check disable-on-404
func (*CheckDisableOn404) GetComment ¶
func (c *CheckDisableOn404) GetComment() string
func (*CheckDisableOn404) Parse ¶
func (c *CheckDisableOn404) Parse(parts []string, parserType types.ParserType, comment string) error
func (*CheckDisableOn404) String ¶
func (c *CheckDisableOn404) String() string
type CheckSend ¶
type CheckSend struct { Method string URI string URILogFormat string Version string Header []CheckSendHeader Body string BodyLogFormat string CheckComment string Comment string }
http-check send [meth <method>] [{ uri <uri> | uri-lf <fmt> }>] [ver <version>]
[hdr <name> <fmt>]* [{ body <string> | body-lf <fmt> }] [comment <msg>]
func (*CheckSend) GetComment ¶
type CheckSendHeader ¶
type CheckSendState ¶
type CheckSendState struct {
Comment string
}
http-check send-state
func (*CheckSendState) GetComment ¶
func (c *CheckSendState) GetComment() string
func (*CheckSendState) Parse ¶
func (c *CheckSendState) Parse(parts []string, parserType types.ParserType, comment string) error
func (*CheckSendState) String ¶
func (c *CheckSendState) String() string
type DelHeader ¶
func (*DelHeader) GetComment ¶
type Deny ¶
type Deny struct { Comment string Status *int64 ContentType string ContentFormat string Content string Hdrs []*Hdr Cond string CondTest string }
func (*Deny) GetComment ¶
type DisableL7Retry ¶
func (*DisableL7Retry) GetComment ¶
func (f *DisableL7Retry) GetComment() string
func (*DisableL7Retry) Parse ¶
func (f *DisableL7Retry) Parse(parts []string, parserType types.ParserType, comment string) error
func (*DisableL7Retry) String ¶
func (f *DisableL7Retry) String() string
type NormalizeURI ¶
type NormalizeURI struct { Normalizer string Full bool Strict bool Cond string CondTest string Comment string }
func (*NormalizeURI) GetComment ¶
func (f *NormalizeURI) GetComment() string
func (*NormalizeURI) Parse ¶
func (f *NormalizeURI) Parse(parts []string, parserType types.ParserType, comment string) error
func (*NormalizeURI) String ¶
func (f *NormalizeURI) String() string
type Redirect ¶
type Redirect struct { Type string Value string Code string Option string Cond string CondTest string Comment string }
func (*Redirect) 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) Parse ¶
func (f *ReplaceHeader) Parse(parts []string, parserType types.ParserType, comment string) error
func (*ReplaceHeader) String ¶
func (f *ReplaceHeader) String() string
type ReplacePath ¶
type ReplacePath struct { MatchRegex string ReplaceFmt string Cond string CondTest string Comment string }
func (*ReplacePath) GetComment ¶
func (f *ReplacePath) GetComment() string
func (*ReplacePath) Parse ¶
func (f *ReplacePath) Parse(parts []string, parserType types.ParserType, comment string) error
func (*ReplacePath) String ¶
func (f *ReplacePath) String() string
type ReplacePathQ ¶
type ReplacePathQ struct { MatchRegex string ReplaceFmt string Cond string CondTest string Comment string }
func (*ReplacePathQ) GetComment ¶
func (f *ReplacePathQ) GetComment() string
func (*ReplacePathQ) Parse ¶
func (f *ReplacePathQ) Parse(parts []string, parserType types.ParserType, comment string) error
func (*ReplacePathQ) String ¶
func (f *ReplacePathQ) String() string
type ReplaceURI ¶
type ReplaceURI struct { MatchRegex string ReplaceFmt string Cond string CondTest string Comment string }
func (*ReplaceURI) GetComment ¶
func (f *ReplaceURI) GetComment() string
func (*ReplaceURI) Parse ¶
func (f *ReplaceURI) Parse(parts []string, parserType types.ParserType, comment string) error
func (*ReplaceURI) String ¶
func (f *ReplaceURI) 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) Parse ¶
func (f *ReplaceValue) Parse(parts []string, parserType types.ParserType, comment string) error
func (*ReplaceValue) String ¶
func (f *ReplaceValue) String() string
type Return ¶
type Return struct { Comment string Status *int64 ContentType string ContentFormat string Content string Hdrs []*Hdr Cond string CondTest string }
func (*Return) GetComment ¶
type SetMap ¶
type SetMap struct { FileName string KeyFmt string ValueFmt string Cond string CondTest string Comment string }
func (*SetMap) GetComment ¶
type SetMethod ¶
func (*SetMethod) GetComment ¶
type SetPath ¶
func (*SetPath) GetComment ¶
type SetPathQ ¶
func (*SetPathQ) GetComment ¶
type SetQuery ¶
func (*SetQuery) GetComment ¶
type SetSrc ¶
type SetSrc struct { Expr common.Expression Cond string CondTest string Comment string }
func (*SetSrc) GetComment ¶
type SetTimeout ¶
func (*SetTimeout) GetComment ¶
func (f *SetTimeout) GetComment() string
func (*SetTimeout) Parse ¶
func (f *SetTimeout) Parse(parts []string, parserType types.ParserType, comment string) error
func (*SetTimeout) String ¶
func (f *SetTimeout) String() string
type SetURI ¶
func (*SetURI) GetComment ¶
type Status ¶
type Status struct { Comment string Status *int64 ContentType string ContentFormat string Content string Hdrs []*Hdr }
func (*Status) GetComment ¶
type StrictMode ¶
func (*StrictMode) GetComment ¶
func (f *StrictMode) GetComment() string
func (*StrictMode) Parse ¶
func (f *StrictMode) Parse(parts []string, parserType types.ParserType, comment string) error
func (*StrictMode) String ¶
func (f *StrictMode) String() string
type Tarpit ¶
type Tarpit struct { Comment string Status *int64 ContentType string ContentFormat string Content string Hdrs []*Hdr Cond string CondTest string }
func (*Tarpit) GetComment ¶
type WaitForBody ¶
func (*WaitForBody) GetComment ¶
func (f *WaitForBody) GetComment() string
func (*WaitForBody) Parse ¶
func (f *WaitForBody) Parse(parts []string, parserType types.ParserType, comment string) error
func (*WaitForBody) String ¶
func (f *WaitForBody) String() string
type WaitForHandshake ¶
func (*WaitForHandshake) GetComment ¶
func (f *WaitForHandshake) GetComment() string
func (*WaitForHandshake) Parse ¶
func (f *WaitForHandshake) Parse(parts []string, parserType types.ParserType, comment string) error
func (*WaitForHandshake) String ¶
func (f *WaitForHandshake) String() string
Source Files ¶
- add-acl.go
- add-header.go
- allow.go
- auth.go
- cache-store.go
- cache-use.go
- capture.go
- check-comment.go
- check-disable-on-404.go
- check-send-state.go
- check-send.go
- del-acl.go
- del-header.go
- del-map.go
- deny.go
- disable-l7-retry.go
- early-hint.go
- normalize.go
- redirect.go
- replace-header.go
- replace-path.go
- replace-pathq.go
- replace-uri.go
- replace-value.go
- return.go
- set-header.go
- set-map.go
- set-method.go
- set-path.go
- set-pathq.go
- set-query.go
- set-src.go
- set-status.go
- set-timeout.go
- set-uri.go
- status.go
- strict-mode.go
- tarpit.go
- wait-for-body.go
- wait-for-handshake.go
Click to show internal directories.
Click to hide internal directories.