Documentation
¶
Overview ¶
Package env provides environment variables parsing and utils builders
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildProxyDialer ¶
func BuildProxyDialer(proxyURL *url.URL) func(ctx context.Context, network string, addr string) (net.Conn, error)
BuildProxyDialer builds a proxy dialler from url
func GetAPIURL ¶ added in v0.1.16
GetAPIURL returns the escape api url Default to public.escape.tech if not set
func GetBackendProxyURL ¶
GetBackendProxyURL returns the proxy between the location and the customer API
func GetFrontendProxyURL ¶
GetFrontendProxyURL returns the proxy between the location and the Escape Platform
func GetHTTPClient ¶ added in v0.1.16
GetHTTPClient returns a new http client with the proxy set if needed This client should be used for calls to the Escape Platform
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.