Documentation
¶
Index ¶
- type ACL
- type Balance
- type Bind
- type BindProcess
- type CPUMap
- type Comments
- type ConfigVersion
- type Cookie
- type DefaultServer
- type Enabled
- type ErrorFile
- type ExternalCheckCommand
- type ExternalCheckPath
- type Filter
- type Filters
- type Group
- type HTTPAction
- type HTTPCheck
- type HTTPRequests
- type HTTPResponses
- type HTTPReuse
- type HashType
- type Int64C
- type Log
- type LuaLoad
- type Mailer
- type MonitorFail
- type MonitorURI
- type Nameserver
- type OptionForwardFor
- type OptionHTTPLog
- type OptionHttpchk
- type OptionMysqlCheck
- type OptionPgsqlCheck
- type OptionRedispatch
- type OptionSmtpchk
- type Peer
- type Redirect
- type Section
- type Server
- type SimpleNumber
- type SimpleOption
- type SimpleString
- type SimpleTime
- type SimpleTimeout
- type SimpleWord
- type Socket
- type Stats
- type StatsSettings
- type Stick
- type StickTable
- type StringC
- type StringSliceC
- type TCPAction
- type TCPRequests
- type TCPResponses
- type TCPType
- type TimeTwoWords
- type UnProcessed
- type UniqueIDFormat
- type UniqueIDHeader
- type UseBackend
- type UseServer
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Balance ¶
type Balance struct {
Algorithm string
Params params.BalanceParams
Comment string
}
is-multiple:false
type Bind ¶
type Bind struct {
Path string //can be address:port or socket path
Params []params.BindOption
Comment string
}
is-multiple:true
type Comments ¶
type Comments struct {
Value string
}
no-sections:true is-multiple:true no-init:true no-parse:true
type ConfigVersion ¶
type ConfigVersion struct {
Value int64
}
no-sections:true no-init:true no-get:true
type Cookie ¶
type Cookie struct {
Domain []string
Attr []string
Dynamic bool
Httponly bool
Indirect bool
Maxidle int64
Maxlife int64
Name string
Nocache bool
Postonly bool
Preserve bool
Type string
Secure bool
Comment string
}
is-multiple:false
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, NoSplice gen:Daemon create-type:bool gen:MasterWorker create-type:bool gen:ExternalCheck create-type:bool gen:NoSplice create-type:bool
type ExternalCheckCommand ¶
no-parse:true
type Filter ¶
type Filter interface {
Parse(parts []string, comment string) error
Result() common.ReturnResultLine
}
type Filters ¶
type Filters struct{}
no-sections:true is-multiple:true parser-type:Filter is-interface:true no-init:true no-parse:true
type HTTPAction ¶
type HTTPCheck ¶
type HTTPCheck struct {
Type string
ExclamationMark bool
Match string
Pattern string
Comment string
}
is-multiple:true
type HTTPRequests ¶
type HTTPRequests struct{}
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 MonitorFail ¶ added in v2.1.0
type MonitorURI ¶ added in v2.1.0
type MonitorURI struct {
URI string
}
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 OptionPgsqlCheck ¶
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 SimpleNumber ¶
type SimpleNumber struct{}
no-sections:true struct-name:Number parser-type:Int64C
type SimpleOption ¶
no-sections:true struct-name:Option no-init:true
type SimpleString ¶
type SimpleString struct{}
no-sections:true struct-name:String parser-type:StringC
type SimpleTimeout ¶
no-sections:true 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 Stats ¶
type Stats struct{}
struct-name:Stats is-multiple:true parser-type:StatsSettings is-interface:true no-init:true no-parse:true
type StatsSettings ¶
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 gen:LogSendHostName
type StringSliceC ¶
StringSliceC is used by ConfigSnippet gen:ConfigSnippet
type TCPRequests ¶
type TCPRequests struct{}
struct-name:Requests is-multiple:true parser-type:TCPType is-interface:true no-init:true no-parse:true
type TCPResponses ¶
type TCPResponses struct{}
struct-name:Responses is-multiple:true parser-type:TCPType is-interface:true no-init:true no-parse:true
type TimeTwoWords ¶ added in v2.0.5
type TimeTwoWords struct{}
no-sections:true struct-name:TimeTwoWords no-init:true parser-type:StringC
type UnProcessed ¶
type UnProcessed struct {
Value string
}
no-sections:true is-multiple:true no-init:true no-parse:true
type UniqueIDFormat ¶
type UniqueIDHeader ¶
type UseBackend ¶
is-multiple:true