 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type AddACL
- type AddHeader
- type Allow
- type Auth
- type CacheUse
- type Capture
- type DelACL
- type DelHeader
- type DelMap
- type Deny
- type DisableL7Retry
- type DoResolve
- type EarlyHint
- type Lua
- type Redirect
- type Reject
- type ReplaceHeader
- type ReplacePath
- type ReplaceURI
- type ReplaceValue
- type ScIncGpc0
- type ScIncGpc1
- type ScSetGpt0
- type SendSpoeGroup
- type SetDst
- type SetDstPort
- type SetHeader
- type SetLogLevel
- type SetMap
- type SetMark
- type SetMethod
- type SetNice
- type SetPath
- type SetPriorityClass
- type SetPriorityOffset
- type SetQuery
- type SetSrc
- type SetSrcPort
- type SetStatus
- type SetTos
- type SetURI
- type SetVar
- type SilentDrop
- type StrictMode
- type Tarpit
- type TrackSc0
- type TrackSc1
- type TrackSc2
- type UnsetVar
- type UseService
- type WaitForHandshake
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 CacheUse ¶ added in v2.0.3
func (*CacheUse) GetComment ¶ added in v2.0.3
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 DelMap ¶ added in v2.0.3
func (*DelMap) GetComment ¶ added in v2.0.3
type Deny ¶
func (*Deny) GetComment ¶
type DisableL7Retry ¶ added in v2.0.3
func (*DisableL7Retry) GetComment ¶ added in v2.0.3
func (f *DisableL7Retry) GetComment() string
func (*DisableL7Retry) Parse ¶ added in v2.0.3
func (f *DisableL7Retry) Parse(parts []string, comment string) error
func (*DisableL7Retry) String ¶ added in v2.0.3
func (f *DisableL7Retry) String() string
type DoResolve ¶ added in v2.0.3
type DoResolve struct {
	Var       string
	Resolvers string
	Protocol  string
	Expr      common.Expression
	Cond      string
	CondTest  string
	Comment   string
}
    func (*DoResolve) GetComment ¶ added in v2.0.3
type EarlyHint ¶ added in v2.0.3
func (*EarlyHint) GetComment ¶ added in v2.0.3
type Lua ¶ added in v2.0.3
func (*Lua) GetComment ¶ added in v2.0.3
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 ReplaceURI ¶ added in v2.0.3
type ReplaceURI struct {
	MatchRegex string
	ReplaceFmt string
	Cond       string
	CondTest   string
	Comment    string
}
    func (*ReplaceURI) GetComment ¶ added in v2.0.3
func (f *ReplaceURI) GetComment() string
func (*ReplaceURI) Parse ¶ added in v2.0.3
func (f *ReplaceURI) Parse(parts []string, comment string) error
func (*ReplaceURI) String ¶ added in v2.0.3
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) String ¶
func (f *ReplaceValue) String() string
type ScIncGpc0 ¶ added in v2.0.3
func (*ScIncGpc0) GetComment ¶ added in v2.0.3
type ScIncGpc1 ¶ added in v2.0.3
func (*ScIncGpc1) GetComment ¶ added in v2.0.3
type ScSetGpt0 ¶ added in v2.0.3
type ScSetGpt0 struct {
	ID       string
	Int      *int64
	Expr     common.Expression
	Cond     string
	CondTest string
	Comment  string
}
    func (*ScSetGpt0) GetComment ¶ added in v2.0.3
type SendSpoeGroup ¶
func (*SendSpoeGroup) GetComment ¶
func (f *SendSpoeGroup) GetComment() string
func (*SendSpoeGroup) String ¶
func (f *SendSpoeGroup) String() string
type SetDst ¶ added in v2.0.3
type SetDst struct {
	Expr     common.Expression
	Cond     string
	CondTest string
	Comment  string
}
    func (*SetDst) GetComment ¶ added in v2.0.3
type SetDstPort ¶ added in v2.0.3
type SetDstPort struct {
	Expr     common.Expression
	Cond     string
	CondTest string
	Comment  string
}
    func (*SetDstPort) GetComment ¶ added in v2.0.3
func (f *SetDstPort) GetComment() string
func (*SetDstPort) Parse ¶ added in v2.0.3
func (f *SetDstPort) Parse(parts []string, comment string) error
func (*SetDstPort) String ¶ added in v2.0.3
func (f *SetDstPort) 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 SetMap ¶ added in v2.0.3
type SetMap struct {
	FileName string
	KeyFmt   string
	ValueFmt string
	Cond     string
	CondTest string
	Comment  string
}
    func (*SetMap) GetComment ¶ added in v2.0.3
type SetMark ¶ added in v2.0.3
func (*SetMark) GetComment ¶ added in v2.0.3
type SetMethod ¶ added in v2.0.3
func (*SetMethod) GetComment ¶ added in v2.0.3
type SetNice ¶ added in v2.0.3
func (*SetNice) GetComment ¶ added in v2.0.3
type SetPath ¶
func (*SetPath) GetComment ¶
type SetPriorityClass ¶ added in v2.0.3
type SetPriorityClass struct {
	Expr     common.Expression
	Cond     string
	CondTest string
	Comment  string
}
    func (*SetPriorityClass) GetComment ¶ added in v2.0.3
func (f *SetPriorityClass) GetComment() string
func (*SetPriorityClass) Parse ¶ added in v2.0.3
func (f *SetPriorityClass) Parse(parts []string, comment string) error
func (*SetPriorityClass) String ¶ added in v2.0.3
func (f *SetPriorityClass) String() string
type SetPriorityOffset ¶ added in v2.0.3
type SetPriorityOffset struct {
	Expr     common.Expression
	Cond     string
	CondTest string
	Comment  string
}
    func (*SetPriorityOffset) GetComment ¶ added in v2.0.3
func (f *SetPriorityOffset) GetComment() string
func (*SetPriorityOffset) Parse ¶ added in v2.0.3
func (f *SetPriorityOffset) Parse(parts []string, comment string) error
func (*SetPriorityOffset) String ¶ added in v2.0.3
func (f *SetPriorityOffset) String() string
type SetQuery ¶
func (*SetQuery) GetComment ¶
type SetSrc ¶ added in v2.0.3
type SetSrc struct {
	Expr     common.Expression
	Cond     string
	CondTest string
	Comment  string
}
    func (*SetSrc) GetComment ¶ added in v2.0.3
type SetSrcPort ¶ added in v2.0.3
type SetSrcPort struct {
	Expr     common.Expression
	Cond     string
	CondTest string
	Comment  string
}
    func (*SetSrcPort) GetComment ¶ added in v2.0.3
func (f *SetSrcPort) GetComment() string
func (*SetSrcPort) Parse ¶ added in v2.0.3
func (f *SetSrcPort) Parse(parts []string, comment string) error
func (*SetSrcPort) String ¶ added in v2.0.3
func (f *SetSrcPort) String() string
type SetStatus ¶
func (*SetStatus) GetComment ¶
type SetTos ¶ added in v2.0.3
func (*SetTos) GetComment ¶ added in v2.0.3
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 SilentDrop ¶ added in v2.0.3
func (*SilentDrop) GetComment ¶ added in v2.0.3
func (f *SilentDrop) GetComment() string
func (*SilentDrop) Parse ¶ added in v2.0.3
func (f *SilentDrop) Parse(parts []string, comment string) error
func (*SilentDrop) String ¶ added in v2.0.3
func (f *SilentDrop) String() string
type StrictMode ¶ added in v2.0.3
func (*StrictMode) GetComment ¶ added in v2.0.3
func (f *StrictMode) GetComment() string
func (*StrictMode) Parse ¶ added in v2.0.3
func (f *StrictMode) Parse(parts []string, comment string) error
func (*StrictMode) String ¶ added in v2.0.3
func (f *StrictMode) String() string
type Tarpit ¶
func (*Tarpit) GetComment ¶
type TrackSc0 ¶
func (*TrackSc0) GetComment ¶
type TrackSc1 ¶
func (*TrackSc1) GetComment ¶
type TrackSc2 ¶
func (*TrackSc2) GetComment ¶
type UnsetVar ¶ added in v2.0.3
func (*UnsetVar) GetComment ¶ added in v2.0.3
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
type WaitForHandshake ¶ added in v2.0.3
func (*WaitForHandshake) GetComment ¶ added in v2.0.3
func (f *WaitForHandshake) GetComment() string
func (*WaitForHandshake) Parse ¶ added in v2.0.3
func (f *WaitForHandshake) Parse(parts []string, comment string) error
func (*WaitForHandshake) String ¶ added in v2.0.3
func (f *WaitForHandshake) String() string
       Source Files
      ¶
      Source Files
      ¶
    
- add-acl.go
- add-header.go
- allow.go
- auth.go
- cache-use.go
- capture.go
- del-acl.go
- del-header.go
- del-map.go
- deny.go
- disable-l7-retry.go
- do-resolve.go
- early-hint.go
- lua.go
- redirect.go
- reject.go
- replace-header.go
- replace-path.go
- replace-uri.go
- replace-value.go
- sc-inc-gpc0.go
- sc-inc-gpc1.go
- sc-set-gpt0.go
- send-spoe-group.go
- set-dst-port.go
- set-dst.go
- set-header.go
- set-log-level.go
- set-map.go
- set-mark.go
- set-method.go
- set-nice.go
- set-path.go
- set-priority-class.go
- set-priority-offset.go
- set-query.go
- set-src-port.go
- set-src.go
- set-status.go
- set-tos.go
- set-uri.go
- set-var.go
- silent-drop.go
- strict-mode.go
- tarpit.go
- track-sc0.go
- track-sc1.go
- track-sc2.go
- unset-var.go
- use-service.go
- wait-for-handshake.go
 Click to show internal directories. 
   Click to hide internal directories.