package
0.0.0-20221224160140-eae6339adc70
Repository: https://github.com/meshify-app/meshify.git
Documentation: pkg.go.dev
# Functions
BroadcastAddr returns the last address in the given network, or the broadcast address.
DirectoryExists check if directory exists.
FileExists check if file exists.
GenerateRandomBytes returns securely generated random bytes.
GenerateRandomString returns a URL-safe, base64 encoded securely generated random string.
GetAvailableIp search for an available ip in cidr against a list of reserved ips.
No description provided by the author
GetIpFromCidr get ip from cidr.
GetNetworkAddress gets the valid start of a subnet.
IsIPv6 check if given ip is IPv6.
IsValidCidr check if CIDR is valid.
IsValidIp check if ip is valid.
RandomString returns a securely generated random string.
ReadFile file content.
WriteFile content to file.
# Variables
AuthTokenHeaderName http header for token transport.
RegexpEmail check valid email.