Documentation
¶
Index ¶
- type ACL
- type Balance
- type Bind
- type CPUMap
- type Comments
- type ConfigVersion
- type DefaultServer
- type Enabled
- type ErrorFile
- type ExternalCheckCommand
- type ExternalCheckPath
- type Filter
- type Filters
- type Group
- type HTTPAction
- type HTTPRequests
- type HTTPResponses
- type Int64C
- type Log
- type Mailer
- type Nameserver
- type OptionForwardFor
- type OptionHTTPLog
- type OptionHttpchk
- type OptionMysqlCheck
- type OptionRedispatch
- type OptionSmtpchk
- type Peer
- type Redirect
- type Section
- type Server
- type SimpleNumber
- type SimpleOption
- type SimpleString
- type SimpleTime
- type SimpleTimeTwoWords
- type SimpleTimeout
- type SimpleWord
- type Socket
- type Stick
- type StickTable
- type StringC
- type StringSliceC
- type TCPAction
- type TCPRequests
- type TCPResponses
- type UnProcessed
- type UseBackend
- type UseServer
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bind ¶
type Bind struct { Path string //can be address:port or socket path Params []params.BindOption Comment string }
is-multiple:true
type DefaultServer ¶
type DefaultServer struct { Params []params.ServerOption Comment string }
is-multiple:true
type Enabled ¶
type Enabled struct {
Comment string
}
Enabled is used by parsers Daemon, MasterWorker, ExternalCheck gen:Daemon create-type:bool gen:MasterWorker create-type:bool gen:ExternalCheck create-type:bool
type ExternalCheckCommand ¶ added in v1.0.0
no-parse:true
type ExternalCheckPath ¶ added in v1.0.0
no-parse:true
type Filter ¶
type Filter interface { Parse(parts []string, comment string) error Result() common.ReturnResultLine }
type Filters ¶
type Filters struct{}
is-multiple:true parser-type:Filter is-interface:true no-init:true no-parse:true
type HTTPAction ¶
type HTTPRequests ¶
type HTTPRequests struct{}
struct-name:Requests is-multiple:true parser-type:HTTPAction is-interface:true no-init:true no-parse:true
type HTTPResponses ¶
type HTTPResponses struct{}
struct-name:Responses is-multiple:true parser-type:HTTPAction is-interface:true no-init:true no-parse:true
type Int64C ¶
Int64 is used by parsers MaxConn, NbProc, NbThread gen:MaxConn gen:NbProc gen:NbThread
type Log ¶
type Log struct { Global bool NoLog bool Address string Length int64 Format string Facility string Level string MinLevel string Comment string }
is-multiple:true no-init:true no-parse:true
type Nameserver ¶
is-multiple:true
type OptionForwardFor ¶
no-parse:true
type OptionHTTPLog ¶
no-parse:true
type OptionHttpchk ¶
no-parse:true
type OptionMysqlCheck ¶
no-parse:true
type OptionRedispatch ¶
no-parse:true
type OptionSmtpchk ¶
no-parse:true
type Redirect ¶
type Redirect struct{}
is-multiple:true parser-type:HTTPAction is-interface:true no-init:true no-parse:true
type Server ¶
type Server struct { Name string Address string Params []params.ServerOption Comment string }
is-multiple:true
type SimpleOption ¶
struct-name:Option no-init:true
type SimpleTimeTwoWords ¶
type SimpleTimeTwoWords struct{}
struct-name:TimeTwoWords parser-type:StringC no-init:true
type SimpleTimeout ¶
struct-name:Timeout no-init:true
type Socket ¶
type Socket struct { Path string //can be address:port Params []params.BindOption Comment string }
is-multiple:true
type Stick ¶
type Stick struct { Type string Pattern string Table string Cond string CondTest string Comment string }
is-multiple:true no-parse:true
type StickTable ¶
type StringC ¶
String is used by parsers Mode, DefaultBackend, SimpleTimeTwoWords, StatsTimeout gen:Mode gen:DefaultBackend gen:StatsTimeout
type StringSliceC ¶
StringSliceC is used by simple-string-multiple
type TCPRequests ¶
type TCPRequests struct{}
struct-name:Requests is-multiple:true parser-type:TCPAction is-interface:true no-init:true no-parse:true
type TCPResponses ¶
type TCPResponses struct{}
struct-name:Responses is-multiple:true parser-type:TCPAction is-interface:true no-init:true no-parse:true
type UnProcessed ¶
type UnProcessed struct {
Value string
}
is-multiple:true no-init:true no-parse:true
type UseBackend ¶
is-multiple:true