Versions in this module Expand all Collapse all v1 v1.0.0 Oct 13, 2022 Changes in this version + const AppName + const AppVersion + const ErrFloatLargerThanOne + const ErrUnsupportedAddressType + func AppDataDir(appName string, roaming bool) string + func ClientAddressDialer(defaultPort string) func(context.Context, string) (net.Conn, error) + func FileExists(name string) bool + func IsLoopback(addr string) bool + func IsUnix(addr net.Addr) bool + func NormalizeAddresses(addrs []string, defaultPort string, tcpResolver TCPResolver) ([]net.Addr, error) + func NormalizeToNDecimalPlace(oldF float64) (float64, error) + func NumDecPlaces(v float64) int + func ParseAddressString(strAddress string, defaultPort string, tcpResolver TCPResolver) (net.Addr, error) + func RandSeq(n int) string + func StrInStrSlice(strSlice []string, str string) bool + func UniqueFileName(path string) string + func ValidatePluginExec(exec string) bool + func ValidatePluginName(name string) bool + type TCPResolver = func(network, addr string) (*net.TCPAddr, error)