Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ClientIDHeader is the key used in the HTTP header to identify a given incoming connection to the server
ClientIDHeader = "rancher-wins-cli-proxy"
)
Variables ¶
This section is empty.
Functions ¶
func GetClientConnectAuthorizer ¶
func GetClientConnectAuthorizer(ports []int) remotedialer.ConnectAuthorizer
GetClientConnectAuthorizer returns the client's connect authorizer based on the provided ports
func GetClientOnConnect ¶
GetClientOnConnect returns the onConnect function used by the client to set up the tcpproxy
func GetServerAuthorizer ¶
func GetServerAuthorizer() remotedialer.Authorizer
GetServerAuthorizer returns authorizer used to get client information from the request made to the server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.