Help us shape the future of Go! Take the 2026 Go Developer Survey

types

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2019 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACL added in v1.1.0

type ACL struct {
	Name      string
	Criterion string
	Value     string
	Comment   string
}

is-multiple:true

type Balance

type Balance struct {
	Algorithm string
	Arguments []string
	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 CPUMap added in v1.1.0

type CPUMap struct {
	Process string
	CPUSet  string
	Comment string
}

is-multiple:true

type Comments

type Comments struct {
	Value string
}

is-multiple:true no-init:true no-parse:true

type ConfigVersion

type ConfigVersion struct {
	Value int64
}

no-init:true no-get: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 ErrorFile

type ErrorFile struct {
	Code    string
	File    string
	Comment string
}

no-init:true is-multiple:true

type ExternalCheckCommand added in v1.0.0

type ExternalCheckCommand struct {
	Command string
	Comment string
}

no-parse:true

type ExternalCheckPath added in v1.0.0

type ExternalCheckPath struct {
	Path    string
	Comment string
}

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 Group

type Group struct {
	Name    string
	Users   []string
	Comment string
}

is-multiple:true

type HTTPAction

type HTTPAction interface {
	Parse(parts []string, comment string) error
	String() string
	GetComment() string
}

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

type Int64C struct {
	Value   int64
	Comment string
}

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 Mailer

type Mailer struct {
	Name    string
	IP      string
	Port    int64
	Comment string
}

is-multiple:true

type Nameserver

type Nameserver struct {
	Name    string
	Address string
	Comment string
}

is-multiple:true

type OptionForwardFor

type OptionForwardFor struct {
	Except  string
	Header  string
	IfNone  bool
	Comment string
}

no-parse:true

type OptionHTTPLog

type OptionHTTPLog struct {
	NoOption bool
	Clf      bool
	Comment  string
}

no-parse:true

type OptionHttpchk

type OptionHttpchk struct {
	Method  string
	URI     string
	Version string
	Comment string
}

no-parse:true

type OptionMysqlCheck

type OptionMysqlCheck struct {
	NoOption bool
	User     string
	Post41   bool
	Comment  string
}

no-parse:true

type OptionRedispatch

type OptionRedispatch struct {
	NoOption bool
	Interval *int64
	Comment  string
}

no-parse:true

type OptionSmtpchk

type OptionSmtpchk struct {
	NoOption bool
	Hello    string
	Domain   string
	Comment  string
}

no-parse:true

type Peer

type Peer struct {
	Name    string
	IP      string
	Port    int64
	Comment string
}

is-multiple:true

type Redirect

type Redirect struct{}

is-multiple:true parser-type:HTTPAction is-interface:true no-init:true no-parse:true

type Section

type Section struct {
	Name    string
	Comment string
}

no-init:true

type Server

type Server struct {
	Name    string
	Address string
	Params  []params.ServerOption
	Comment string
}

is-multiple:true

type SimpleNumber

type SimpleNumber struct{}

struct-name:Number parser-type:Int64C

type SimpleOption

type SimpleOption struct {
	NoOption bool
	Comment  string
}

struct-name:Option no-init:true

type SimpleString

type SimpleString struct{}

struct-name:String parser-type:StringC

type SimpleTime

type SimpleTime struct{}

struct-name:Time parser-type:StringC

type SimpleTimeTwoWords

type SimpleTimeTwoWords struct{}

struct-name:TimeTwoWords parser-type:StringC no-init:true

type SimpleTimeout

type SimpleTimeout struct {
	Value   string
	Comment string
}

struct-name:Timeout no-init:true

type SimpleWord

type SimpleWord struct{}

struct-name:Word parser-type:StringC

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 StickTable struct {
	Type   string
	Length string
	Size   string

	Expire  string
	NoPurge bool
	Peers   string
	Store   string
	Comment string
}

type StringC

type StringC struct {
	Value   string
	Comment string
}

String is used by parsers Mode, DefaultBackend, SimpleTimeTwoWords, StatsTimeout gen:Mode gen:DefaultBackend gen:StatsTimeout

type StringSliceC

type StringSliceC struct {
	Value   []string
	Comment string
}

StringSliceC is used by simple-string-multiple

type TCPAction

type TCPAction interface {
	Parse(parts []string, comment string) error
	String() string
	GetComment() string
}

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

type UseBackend struct {
	Name     string
	Cond     string
	CondTest string
	Comment  string
}

is-multiple:true

type UseServer

type UseServer struct {
	Name     string
	Cond     string
	CondTest string
	Comment  string
}

is-multiple:true no-parse:true

type User

type User struct {
	Name       string
	Password   string
	IsInsecure bool
	Groups     []string
	Comment    string
}

is-multiple:true

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL