Documentation ¶
Index ¶
- type ACL
- type Action
- type ArrayStringKeyValue
- type Balance
- type Bind
- type BindProcess
- type CPUMap
- type Command
- type Comments
- type ConfigHash
- type ConfigVersion
- type Cookie
- type DeclareCapture
- type DefaultBind
- type DefaultPath
- type DefaultServer
- type DgramBind
- type EmailAlert
- type Enabled
- type ErrorFile
- type ErrorFiles
- type ErrorLoc302
- type ErrorLoc303
- type ExternalCheckCommand
- type ExternalCheckPath
- type Filter
- type Filters
- type ForcePersist
- type Group
- type H1CaseAdjust
- type HTTPAfterResponse
- type HTTPCheck
- type HTTPCheckV2
- type HTTPErrors
- type HTTPRequests
- type HTTPResponses
- type HTTPReuse
- type HTTPSendNameHeader
- type HashType
- type IgnorePersist
- type Int64C
- type LoadServerStateFromFile
- type Log
- type LogStdErr
- type LuaLoad
- type LuaPrependPath
- type Mailer
- type MonitorFail
- type MonitorURI
- type Nameserver
- type NumaCPUMapping
- type OptionForwardFor
- type OptionHTTPLog
- type OptionHTTPRestrictReqHdrNames
- type OptionHttpchk
- type OptionMaxReqs
- type OptionMysqlCheck
- type OptionOriginalTo
- type OptionPgsqlCheck
- type OptionRedispatch
- type OptionSmtpchk
- type ParserType
- type PassHeader
- type Peer
- type Persist
- type ProcessVary
- type QuicSocketOwner
- type Redirect
- type Section
- type Server
- type ServerTemplate
- type SetParam
- type SetVar
- type SetVarFmt
- type SimpleAutoOnOff
- type SimpleEnabled
- type SimpleNumber
- type SimpleOnOff
- type SimpleOption
- type SimpleSize
- type SimpleString
- type SimpleStringKeyValue
- type SimpleStringSlice
- type SimpleTime
- type SimpleTimeout
- type SimpleWord
- type Socket
- type Source
- type SslEngine
- type SslModeAsync
- type Stats
- type StatsSettings
- type Stick
- type StickTable
- type StringC
- type StringKeyValueC
- type StringSliceC
- type TCPCheck
- type TCPRequests
- type TCPResponses
- type TCPType
- type Table
- type ThreadGroup
- type TimeTwoWords
- type UnProcessed
- type UniqueIDFormat
- type UniqueIDHeader
- type UnixBind
- type UseBackend
- type UseFcgiApp
- type UseServer
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayStringKeyValue ¶
type ArrayStringKeyValue struct{}
type Bind ¶
type Bind struct { Path string // can be address:port or socket path Params []params.BindOption Comment string }
type BindProcess ¶
type ConfigHash ¶
type ConfigHash struct {
Value string
}
type ConfigVersion ¶
type ConfigVersion struct {
Value int64
}
type DeclareCapture ¶
type DefaultBind ¶
type DefaultBind struct { Params []params.BindOption Comment string }
type DefaultPath ¶ added in v4.1.0
type DefaultServer ¶
type DefaultServer struct { Params []params.ServerOption Comment string }
type DgramBind ¶
type DgramBind struct { Path string // can be address:port or socket path Params []params.DgramBindOption Comment string }
type EmailAlert ¶
type Enabled ¶
type Enabled struct {
Comment string
}
Enabled is used by parsers Daemon, MasterWorker, ExternalCheck, NoSplice, CompressionOffload
type ErrorFiles ¶
type ErrorLoc302 ¶
type ErrorLoc303 ¶
type ExternalCheckCommand ¶
type ExternalCheckPath ¶
type Filter ¶
type Filter interface { Parse(parts []string, comment string) error Result() common.ReturnResultLine }
type ForcePersist ¶
type H1CaseAdjust ¶
type HTTPAfterResponse ¶
type HTTPAfterResponse struct{}
type HTTPCheckV2 ¶
type HTTPErrors ¶
type HTTPErrors struct{}
type HTTPRequests ¶
type HTTPRequests struct{}
type HTTPResponses ¶
type HTTPResponses struct{}
type HTTPSendNameHeader ¶
type IgnorePersist ¶
type LoadServerStateFromFile ¶
type LoadServerStateFromFile struct {
Argument string
}
type LuaPrependPath ¶
type MonitorFail ¶
type MonitorURI ¶
type MonitorURI struct {
URI string
}
type Nameserver ¶
type NumaCPUMapping ¶ added in v4.1.0
type OptionForwardFor ¶
type OptionHTTPLog ¶
type OptionHttpchk ¶
type OptionMaxReqs ¶
type OptionMysqlCheck ¶
type OptionOriginalTo ¶ added in v4.1.0
type OptionPgsqlCheck ¶
type OptionRedispatch ¶
type OptionSmtpchk ¶
type PassHeader ¶
type ProcessVary ¶
type QuicSocketOwner ¶ added in v4.1.2
type QuicSocketOwner struct {
Owner string
}
type Server ¶
type Server struct { Name string Address string Params []params.ServerOption Comment string }
type ServerTemplate ¶
type SimpleAutoOnOff ¶
type SimpleAutoOnOff struct{}
type SimpleEnabled ¶
type SimpleEnabled struct{}
type SimpleNumber ¶
type SimpleNumber struct{}
type SimpleOnOff ¶
type SimpleOnOff struct{}
type SimpleOption ¶
type SimpleSize ¶
type SimpleSize struct{}
type SimpleString ¶
type SimpleString struct{}
type SimpleStringKeyValue ¶
type SimpleStringKeyValue struct{}
type SimpleStringSlice ¶
type SimpleStringSlice struct{}
type SimpleTime ¶
type SimpleTime struct{}
type SimpleTimeout ¶
type SimpleWord ¶
type SimpleWord struct{}
type Socket ¶
type Socket struct { Path string // can be address:port Params []params.BindOption Comment string }
type SslModeAsync ¶
type SslModeAsync struct{}
type StatsSettings ¶
type StickTable ¶
type StringKeyValueC ¶
StringKeyValueC is a simple key value, for example environment variables.
type StringSliceC ¶
StringSliceC is used by ConfigSnippet, CompressionAlgo, CompressionType
type TCPRequests ¶
type TCPRequests struct{}
type TCPResponses ¶
type TCPResponses struct{}
type ThreadGroup ¶
type TimeTwoWords ¶
type TimeTwoWords struct{}
type UnProcessed ¶
type UnProcessed struct {
Value string
}
type UniqueIDFormat ¶
type UniqueIDHeader ¶
type UseFcgiApp ¶
Click to show internal directories.
Click to hide internal directories.