MCPcopy Create free account

hub / github.com/pires/go-proxyproto / types & classes

Types & classes41 in github.com/pires/go-proxyproto

↓ 21 callersTypeAliasAddressFamilyAndProtocol
AddressFamilyAndProtocol represents address family and transport protocol.
addr_proto.go:4
↓ 10 callersTypeAliasProtocolVersionAndCommand
ProtocolVersionAndCommand represents the command in proxy protocol v2. Command doesn't exist in v1 but it should be set since other parts of this libr
version_cmd.go:6
↓ 6 callersTypeAliasdummyAddr
protocol_test.go:1953
↓ 3 callersTypeAliasPP2Type
PP2Type is the proxy protocol v2 type.
tlv.go:53
↓ 2 callersTypeAliascontextKey
helper/http2/http2_test.go:44
↓ 1 callersTypeAliasstubAddr
helper/http2/http2_internal_test.go:285
StructConn
Conn is used to wrap and underlying connection which may be speaking the Proxy Protocol. If it is, the RemoteAddr() will return the address of the cli
protocol.go:71
FuncTypeConnPolicyFunc
ConnPolicyFunc can be used to decide whether to trust the PROXY info based on connection policy options. If set, the connecting addresses (remote and
policy.go:26
StructConnPolicyOptions
ConnPolicyOptions contains the remote and local addresses of a connection.
policy.go:29
StructHeader
Header is the placeholder for proxy protocol header.
header.go:62
StructListener
Listener is used to wrap an underlying listener, whose connections may be using the HAProxy Proxy Protocol. If the connection is using the protocol, t
protocol.go:51
StructPP2SSL
PP2SSL represents the PP2_TYPE_SSL TLV and its subtypes. See section 2.2.5 of the PROXY protocol spec. * struct pp2_tlv_ssl { uint8_t
tlvparse/ssl.go:38
TypeAliasPolicy
Policy defines how a connection with a PROXY header address is treated.
policy.go:35
FuncTypePolicyFunc
PolicyFunc can be used to decide whether to trust the PROXY info from upstream. If set, the connecting address is passed in as an argument. See below
policy.go:17
StructServer
Server is an HTTP server accepting both regular and proxied, both HTTP/1 and HTTP/2 connections. HTTP/2 is negotiated using TLS ALPN, either directly
helper/http2/http2.go:29
StructTLV
TLV is a uninterpreted Type-Length-Value for V2 protocol, see section 2.2.
tlv.go:56
StructTestTLSServer
protocol_test.go:1645
FuncTypeValidator
Validator receives a header and decides whether it is a valid one In case the header is not deemed valid it should return an error.
protocol.go:87
Struct_addr4
v2.go:55
Struct_addr6
v2.go:62
Struct_addrUnix
v2.go:68
Struct_ports
v2.go:50
StructchunkedConn
chunkedConn wraps a net.Conn and limits reads to simulate TCP chunking.
protocol_test.go:2126
StructclientConfig
clientConfig parameterizes the standard test client goroutine run by runClient.
protocol_test.go:70
StructdataSource
Tests for parseVersion1 overflow - issue #69.
v1_test.go:287
StructdeadlineConn
protocol_test.go:1910
StructdeadlineFailConn
deadlineFailConn serves a fixed byte stream and can be told to fail a specific SetReadDeadline call (1-based, 0 = never). It lets tests reproduce a de
protocol_test.go:1965
StructdialResult
protocol_test.go:611
TypeAliaserrorReader
header_test.go:53
StructfailingAddr
policy_test.go:22
Structh1Listener
h1Listener is used to signal back http.Server's Close and Shutdown to the HTTP/2 server.
helper/http2/http2.go:216
Structheader
header.go:319
StructinvalidIPAddr
policy_test.go:27
StructnoReadFromConn
protocol_test.go:1934
StructpipeAddr
helper/http2/listener.go:64
StructpipeListener
pipeListener is a hack to workaround the lack of http.Server.ServeConn. See: https://github.com/golang/go/issues/36673
helper/http2/listener.go:15
Structresult
protocol_test.go:418
StructstubListener
helper/http2/http2_internal_test.go:260
StructtestConn
protocol_test.go:1904
StructtimeoutError
helper/http2/http2_internal_test.go:290
TypeAliastimeoutReader
header_test.go:46