https

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package https provides generic implementations and utility methods for Fleetspeak https communication component type.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyListener

type ProxyListener struct {
	net.Listener
}

ProxyListener wraps a net.Listener and adapts the perceived source of the connection to be that provided by the PROXY protocol header string. Should be used only when the server is behind a load balancer which implements the PROXY protocol.

https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt

func (*ProxyListener) Accept

func (l *ProxyListener) Accept() (net.Conn, error)

Jump to

Keyboard shortcuts

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