Documentation
¶
Index ¶
- func AutoListener(protocol, address string, startPort, endPort uint16) (net.Listener, error)
- func AutoListenerAddress(protocol, address string, startPort, endPort uint16) (string, error)
- func BytesToSize(sz int64) string
- func DumpHeaders(headers http.Header, in bool) string
- func EnableSuperNetwork(zCfg *ziti.Config)
- func FormatHostDetailsWithUser(username, hostname, hostDetail, description string) (formattedHostDetail, formattedDescription string)
- func GetHostDetails() (hostname string, hostDetail string, username string, err error)
- func IsValidEmail(e string) bool
- func IsValidUniqueName(uniqueName string) bool
- func NewRequestsWrapper(proxy *httputil.ReverseProxy) *requestsWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoListener ¶ added in v1.0.0
func AutoListenerAddress ¶ added in v1.0.0
func BytesToSize ¶
func EnableSuperNetwork ¶ added in v1.0.8
func FormatHostDetailsWithUser ¶ added in v1.0.6
func FormatHostDetailsWithUser(username, hostname, hostDetail, description string) (formattedHostDetail, formattedDescription string)
FormatHostDetailsWithUser combines the username and host details into a single string. It also returns a formatted description string if the input description is the default "<user>@<hostname>".
func GetHostDetails ¶ added in v1.0.6
GetHostDetails returns the hostname, detailed host information, and username. The detailed host information includes OS, platform, kernel details, and username.
func IsValidEmail ¶
func IsValidUniqueName ¶ added in v0.4.19
IsValidUniqueName ensures that the string represents a valid unique name. Lowercase alphanumeric only. 4-32 characters.
func NewRequestsWrapper ¶ added in v0.4.36
func NewRequestsWrapper(proxy *httputil.ReverseProxy) *requestsWrapper
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.