package
0.18.0
Repository: https://github.com/hashicorp/boundary.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetOpts - iterate the inbound Options and return a struct.
Returns a new proxy dialer using the provided function to get the net.Conn.
HttpHandlerCounter records how many requests are currently running in the wrapped Handler.
No description provided by the author
TestWsConn creates a websocket client and handler simulating the local websocket proxy created during Boundary connect.
WithDnsServerAddress allows specifying lookup of the endpoint to happen via an alternate DNS server.
WithInjectedApplicationCredentials provides an optional injected application credentials to use when establishing a proxy.
WithPostConnectionHook provides a hook function to be called after a connection is established in a dialFunction.

# Constants

No description provided by the author

# Variables

ErrProtocolAlreadyRegistered specifies the provided protocol has already been registered.
ErrUnknownProtocol specifies the provided protocol has no registered handler.
GetEndpointDialer returns a ProxyDialer which, when Dial() is called returns a net.Conn which reaches the provided endpoint.
GetHandler returns the handler registered for the provided worker and protocolContext.
ProxyState contains the current state of proxies in this process.
No description provided by the author

# Structs

Options = how options are represented.
ProxyDialer dials downstream to eventually get to the target host.

# Type aliases

DecryptFn decrypts the provided bytes into a proto.Message.
Handler is the type that all proxies need to implement to be called by the worker when a new client connection is created.
Option - how Options are passed as arguments.
ProxyConnFn is called after the call to ConnectConnection on the cluster.
RecordingManager allows a handler for a protocol that supports recording.