Documentation ¶
Index ¶
- type ACL
- type Balance
- type Bind
- type BindProcess
- type CPUMap
- type Comments
- type ConfigHash
- 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 HTTPCheckV2
- type HTTPRequests
- type HTTPResponses
- type HTTPReuse
- type HashType
- type Int64C
- type LoadServerStateFromFile
- 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 ServerTemplate
- type SimpleNumber
- type SimpleOption
- type SimpleString
- type SimpleStringKeyValue
- type SimpleStringSlice
- type SimpleTime
- type SimpleTimeout
- type SimpleWord
- type Socket
- type SslEngine
- type SslModeAsync
- type Stats
- type StatsSettings
- type Stick
- type StickTable
- type StringC
- type StringKeyValueC
- 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 ConfigHash ¶ added in v3.1.0
type ConfigHash struct {
Value string
}
no-sections:true no-init:true no-get: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 Name string Type string Comment string Maxidle int64 Maxlife int64 Dynamic bool Httponly bool Indirect bool Nocache bool Postonly bool Preserve bool Secure bool }
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{}
struct-name:Checks is-multiple:true parser-type:HTTPAction is-interface:true no-init:true no-parse:true
type HTTPCheckV2 ¶
type HTTPCheckV2 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 LoadServerStateFromFile ¶
type LoadServerStateFromFile struct {
Argument string
}
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 ¶
type MonitorURI ¶
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 ServerTemplate ¶ added in v3.1.0
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 SimpleStringKeyValue ¶
type SimpleStringKeyValue struct{}
no-sections:true struct-name:StringKeyValue parser-type:StringKeyValueC
type SimpleStringSlice ¶
type SimpleStringSlice struct{}
no-sections:true struct-name:StringSlice parser-type:StringSliceC
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 SslModeAsync ¶
type SslModeAsync struct { }
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 StringKeyValueC ¶
StringKeyValueC is a simple key value, for example environment variables.
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 ¶
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