Versions in this module Expand all Collapse all v0 v0.0.2 Jan 8, 2025 Changes in this version + func GetRandomString(l int) string v0.0.1 Jan 4, 2025 Changes in this version + const UNKNOWN_IP_ADDR + var CopyBufPool = sync.Pool + func AddMissingPort(addr string, isTLS bool) string + func Assert(guard bool, text string) + func CaseInsensitiveCompare(a, b []byte) bool + func CleanPath(p string) string + func CopyBuffer(dst network.Writer, src io.Reader, buf []byte) (written int64, err error) + func CopyZeroAlloc(w network.Writer, r io.Reader) (int64, error) + func FilterContentType(content string) string + func GetBoolFromEnv(key string) (bool, error) + func IsTrueString(str string) bool + func LocalIP() string + func NameOfFunction(f interface{}) string + func NewNetAddr(network, address string) net.Addr + func NextLine(b []byte) ([]byte, []byte, error) + func NormalizeHeaderKey(b []byte, disableNormalizing bool) + func ParseChunkSize(r network.Reader) (int, error) + func SkipCRLF(reader network.Reader) error + func TLSRecordHeaderLooksLikeHTTP(hdr [5]byte) bool + type H map[string]interface + type NetAddr struct + func (na *NetAddr) Network() string + func (na *NetAddr) String() string