util

package
v0.4.26 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToSize

func BytesToSize(sz int64) string

func DumpHeaders

func DumpHeaders(headers http.Header, in bool) string

func IsValidEmail

func IsValidEmail(e string) bool

func IsValidUniqueName added in v0.4.19

func IsValidUniqueName(uniqueName string) bool

IsValidUniqueName ensures that the string represents a valid unique name. Lowercase alphanumeric only. 4-32 characters.

func NewProxyHandler

func NewProxyHandler(proxy *httputil.ReverseProxy) *proxyHandler

Types

This section is empty.

Jump to

Keyboard shortcuts

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