goutil_loc

package
v2.0.0-...-7abe87e Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 License: Apache-2.0, MIT Imports: 38 Imported by: 0

README

goutil Build Status report card GoDoc

Golang common tool functions or components.

Inclusion criteria

  • Only rely on the Go standard package
  • Functions or lightweight packages
  • Non-business related general tools

Documentation

Overview

Package goutil is a common and useful toolkit for Go project development.

Inclusion criteria:

  • Only rely on the Go standard package
  • Functions or lightweight packages
  • Non-business related general tools

Index

Examples

Constants

View Source
const (
	// Is64BitPlatform Whether the current system is a 64-bit platform
	Is64BitPlatform bool = (32 << (^uint(0) >> 63)) == 64
	// Is32BitPlatform Whether the current system is a 32-bit platform
	Is32BitPlatform bool = (32 << (^uint(0) >> 63)) == 0
)
View Source
const IS_GO_TEST = "IS_GO_TEST"

Variables

View Source
var DEFAULT_PID_FILE = "log/PID"

DEFAULT_PID_FILE the default PID file name

Functions

func AESCBCDecrypt

func AESCBCDecrypt(cipherkey, ciphertext []byte, useBase64 ...bool) ([]byte, error)

AESCBCDecrypt hex decodes a piece of data and then decrypts it using CBC mode. The cipherkey argument should be the AES key, either 16, 24, or 32 bytes to select AES-128, AES-192, or AES-256.

func AESCBCEncrypt

func AESCBCEncrypt(cipherkey, plaintext []byte, useBase64 ...bool) []byte

AESCBCEncrypt uses CBC mode to encrypt a piece of data and then encodes it in hex. The cipherkey argument should be the AES key, either 16, 24, or 32 bytes to select AES-128, AES-192, or AES-256.

func AESCTRDecrypt

func AESCTRDecrypt(cipherkey, ciphertext []byte, useBase64 ...bool) ([]byte, error)

AESCTRDecrypt hex decodes a piece of data and then decrypts it using CTR mode. The cipherkey argument should be the AES key, either 16, 24, or 32 bytes to select AES-128, AES-192, or AES-256.

func AESCTREncrypt

func AESCTREncrypt(cipherkey, plaintext []byte, useBase64 ...bool) []byte

AESCTREncrypt uses CTR mode to encrypt a piece of data and then encodes it in hex. The cipherkey argument should be the AES key, either 16, 24, or 32 bytes to select AES-128, AES-192, or AES-256.

func AESDecrypt

func AESDecrypt(cipherkey, ciphertext []byte, useBase64 ...bool) ([]byte, error)

AESDecrypt hex decodes a piece of data and then decrypts it using ECB mode. The cipherkey argument should be the AES key, either 16, 24, or 32 bytes to select AES-128, AES-192, or AES-256.

func AESEncrypt

func AESEncrypt(cipherkey, plaintext []byte, useBase64 ...bool) []byte

AESEncrypt uses ECB mode to encrypt a piece of data and then encodes it in hex. The cipherkey argument should be the AES key, either 16, 24, or 32 bytes to select AES-128, AES-192, or AES-256.

func AddrInt

func AddrInt(i int) *int

AddrInt returns a pointer int representing the address of i.

func BytesToString

func BytesToString(b []byte) string

BytesToString convert []byte type to string type.

func CamelString

func CamelString(s string) string

CamelString converts the accepted string to a camel string (xx_yy to XxYy)

func CodePointToUTF8

func CodePointToUTF8(str string, base int) string

CodePointToUTF8 converts Unicode Code Point to UTF-8. e.g.: CodePointToUTF8(`{"info":[["color","\u5496\u5561\u8272\u7c\u7eff\u8272"]]}`, 16) => `{"info":[["color","咖啡色|绿色"]]}`

func CopyStrings

func CopyStrings(a []string) []string

CopyStrings creates a copy of the string slice.

func DereferenceIfaceValue

func DereferenceIfaceValue(v reflect.Value) reflect.Value

DereferenceIfaceValue returns the value of the underlying type that implements the interface v.

func DereferenceImplementType

func DereferenceImplementType(v reflect.Value) reflect.Type

DereferenceImplementType returns the underlying type of the value that implements the interface v.

func DereferencePtrValue

func DereferencePtrValue(v reflect.Value) reflect.Value

DereferencePtrValue returns the underlying non-pointer type value.

func DereferenceSlice

func DereferenceSlice(v reflect.Value) reflect.Value

DereferenceSlice convert []*T to []T.

func DereferenceType

func DereferenceType(t reflect.Type) reflect.Type

DereferenceType dereference, get the underlying non-pointer type.

func DereferenceValue

func DereferenceValue(v reflect.Value) reflect.Value

DereferenceValue dereference and unpack interface, get the underlying non-pointer and non-interface value.

func ExtranetIP

func ExtranetIP() (ip string, err error)

ExtranetIP get external IP addr. NOTE: Query IP information from the service API: http://pv.sohu.com/cityjson?ie=utf-8

func FileExist

func FileExist(name string) (existed bool, isDir bool)

FileExist reports whether the named file or directory exists.

func FileExists

func FileExists(name string) (existed bool)

FileExists reports whether the named file or directory exists.

func FilepathAbsolute

func FilepathAbsolute(paths []string) ([]string, error)

FilepathAbsolute returns the absolute paths.

func FilepathAbsoluteMap

func FilepathAbsoluteMap(paths []string) (map[string]string, error)

FilepathAbsoluteMap returns the absolute paths map.

func FilepathContains

func FilepathContains(basepath string, subpaths []string) error

FilepathContains checks if the basepath path contains the subpaths.

func FilepathDistinct

func FilepathDistinct(paths []string, toAbs bool) ([]string, error)

FilepathDistinct removes the same path and return in the original order. If toAbs is true, return the result to absolute paths.

func FilepathFromSlash

func FilepathFromSlash(paths []string) []string

FilepathFromSlash returns the result of replacing each slash ('/') character in path with a separator character. Multiple slashes are replaced by multiple separators.

func FilepathRelative

func FilepathRelative(basepath string, targpaths []string) ([]string, error)

FilepathRelative returns the relative paths.

func FilepathRelativeMap

func FilepathRelativeMap(basepath string, targpaths []string) (map[string]string, error)

FilepathRelativeMap returns the relative paths map.

func FilepathSame

func FilepathSame(path1, path2 string) (bool, error)

FilepathSame checks if the two paths are the same.

func FilepathSlashInsensitive

func FilepathSlashInsensitive(path string) string

FilepathSlashInsensitive ignore the difference between the slash and the backslash, and convert to the same as the current system.

func FilepathSplitExt

func FilepathSplitExt(filename string, slashInsensitive ...bool) (root, ext string)

FilepathSplitExt splits the filename into a pair (root, ext) such that root + ext == filename, and ext is empty or begins with a period and contains at most one period. Leading periods on the basename are ignored; splitext('.cshrc') returns (”, '.cshrc').

func FilepathStem

func FilepathStem(filename string, slashInsensitive ...bool) string

FilepathStem returns the stem of filename. Example:

FilepathStem("/root/dir/sub/file.ext") // output "file"

NOTE:

If slashInsensitive is empty, default is false.

func FilepathToSlash

func FilepathToSlash(paths []string) []string

FilepathToSlash returns the result of replacing each separator character in path with a slash ('/') character. Multiple separators are replaced by multiple slashes.

func Fnv1aToUint32

func Fnv1aToUint32(b []byte) uint32

Fnv1aToUint32 returns the 32-bit FNV-1a hash sum of b.

func Fnv1aToUint64

func Fnv1aToUint64(b []byte) uint64

Fnv1aToUint64 returns the 64-bit FNV-1a hash sum of b.

func GetCallLine

func GetCallLine(calldepth int) string

GetCallLine gets caller line information.

func GetFirstGopath

func GetFirstGopath(allowAutomaticGuessing bool) (gopath string, err error)

GetFirstGopath gets the first $GOPATH value.

func GetGopaths

func GetGopaths() []string

GetGopaths returns the list of Go path directories.

func GrepFile

func GrepFile(patten string, filename string) (lines []string, err error)

GrepFile like command grep -E for example: GrepFile(`^hello`, "hello.txt") \n is striped while read

func HTMLEntityToUTF8

func HTMLEntityToUTF8(str string, base int) string

HTMLEntityToUTF8 converts HTML Unicode to UTF-8. e.g.: HTMLEntityToUTF8(`{"info":[["color","&#5496;&#5561;&#8272;&#7c;&#7eff;&#8272;"]]}`, 16) => `{"info":[["color","咖啡色|绿色"]]}`

func Indent

func Indent(text, prefix string) string

Indent inserts prefix at the beginning of each line

func InitAndGetString

func InitAndGetString(strPtr *string, def string) string

InitAndGetString if strPtr is empty string, initialize it with def, and return the final value.

func InitPointer

func InitPointer(v reflect.Value) bool

InitPointer initializes null pointer.

func Int32sDistinct

func Int32sDistinct(a []int32) (set []int32)

Int32sDistinct creates a int32 set that removes the same element32s and returns them in their original order.

func Int64sDistinct

func Int64sDistinct(a []int64) (set []int64)

Int64sDistinct creates a int64 set that removes the same element64s and returns them in their original order.

func InterfacesDistinct

func InterfacesDistinct(a []interface{}) (set []interface{})

InterfacesDistinct creates a interface{} set that removes the same elements and returns them in their original order.

func IntersectStrings

func IntersectStrings(set1, set2 []string) []string

IntersectStrings calculate intersection of two sets.

func IntranetIP

func IntranetIP() (string, error)

IntranetIP get internal IP addr.

func IntsDistinct

func IntsDistinct(a []int) (set []int)

IntsDistinct creates a int set that removes the same elements and returns them in their original order.

func IsCompositionMethod

func IsCompositionMethod(method reflect.Method) bool

IsCompositionMethod determines whether the method inherits from the anonymous field of the struct.

func IsExportedName

func IsExportedName(name string) bool

IsExportedName is this an exported - upper case - name?

func IsExportedOrBuiltinType

func IsExportedOrBuiltinType(t reflect.Type) bool

IsExportedOrBuiltinType is this type exported or a builtin?

func IsGoTest

func IsGoTest() bool

IsGoTest returns whether the current process is a test.

func IsLittleEndian

func IsLittleEndian() bool

IsLittleEndian determine whether the current system is little endian.

func JsQueryEscape

func JsQueryEscape(s string) string

JsQueryEscape escapes the string in javascript standard so it can be safely placed inside a URL query.

func JsQueryUnescape

func JsQueryUnescape(s string) (string, error)

JsQueryUnescape does the inverse transformation of JsQueryEscape, converting %AB into the byte 0xAB and '+' into ' ' (space). It returns an error if any % is not followed by two hexadecimal digits.

func LintCamelString

func LintCamelString(name string) string

LintCamelString converts the accepted string to a camel string (xx_id to XxID) NOTE:

support common initialisms

func Md5

func Md5(b []byte) string

Md5 returns the MD5 checksum string of the data.

func MkdirAll

func MkdirAll(path string, perm ...os.FileMode) error

MkdirAll creates a directory named path, along with any necessary parents, and returns nil, or else returns an error. The permission bits perm (before umask) are used for all directories that MkdirAll creates. If path is already a directory, MkdirAll does nothing and returns nil. If perm is empty, default use 0755.

func ObjectName

func ObjectName(obj interface{}) string

ObjectName gets the type name of the object

func PanicTrace

func PanicTrace(kb int) []byte

PanicTrace trace panic stack info.

func RandomBytes

func RandomBytes(n int) []byte

RandomBytes returns securely generated random bytes. It will panic if the system's secure random number generator fails to function correctly.

func ReferenceSlice

func ReferenceSlice(v reflect.Value, ptrDepth int) reflect.Value

ReferenceSlice convert []T to []*T, the ptrDepth is the count of '*'.

func ReferenceType

func ReferenceType(t reflect.Type, ptrDepth int) reflect.Type

ReferenceType convert T to *T, the ptrDepth is the count of '*'.

func ReferenceValue

func ReferenceValue(v reflect.Value, ptrDepth int) reflect.Value

ReferenceValue convert T to *T, the ptrDepth is the count of '*'.

func RelPath

func RelPath(targpath string) string

RelPath gets relative path.

func RemoveAllFromInt32s

func RemoveAllFromInt32s(set []int32, a int32) []int32

RemoveAllFromInt32s removes all the a element from the int32 set.

func RemoveAllFromInt64s

func RemoveAllFromInt64s(set []int64, a int64) []int64

RemoveAllFromInt64s removes all the a element from the int64 set.

func RemoveAllFromInterfaces

func RemoveAllFromInterfaces(set []interface{}, a interface{}) []interface{}

RemoveAllFromInterfaces removes all the a element from the interface{} set.

func RemoveAllFromInts

func RemoveAllFromInts(set []int, a int) []int

RemoveAllFromInts removes all the a element from the int set.

func RemoveAllFromStrings

func RemoveAllFromStrings(set []string, a string) []string

RemoveAllFromStrings removes all the a element from the string set.

func RemoveFromInt32s

func RemoveFromInt32s(set []int32, a int32) []int32

RemoveFromInt32s removes the first element from the int32 set.

func RemoveFromInt64s

func RemoveFromInt64s(set []int64, a int64) []int64

RemoveFromInt64s removes the first element from the int64 set.

func RemoveFromInterfaces

func RemoveFromInterfaces(set []interface{}, a interface{}) []interface{}

RemoveFromInterfaces removes the first element from the interface{} set.

func RemoveFromInts

func RemoveFromInts(set []int, a int) []int

RemoveFromInts removes the first element from the int set.

func RemoveFromStrings

func RemoveFromStrings(set []string, a string) []string

RemoveFromStrings removes the first element from the string set.

func ReplaceFile

func ReplaceFile(filename string, start, end int, newContent string) error

ReplaceFile replaces the bytes selected by [start, end] with the new content.

func RewriteFile

func RewriteFile(filename string, fn func(content []byte) (newContent []byte, err error)) error

RewriteFile rewrites the file.

func RewriteToFile

func RewriteToFile(filename, newfilename string, fn func(content []byte) (newContent []byte, err error)) error

RewriteToFile rewrites the file to newfilename. If newfilename already exists and is not a directory, replaces it.

func SearchFile

func SearchFile(filename string, paths ...string) (fullpath string, err error)

SearchFile Search a file in paths. this is often used in search config file in /etc ~/

func SelfChdir

func SelfChdir()

SelfChdir switch the working path to my own path.

func SelfDir

func SelfDir() string

SelfDir gets compiled executable file directory.

func SelfPath

func SelfPath() string

SelfPath gets compiled executable file absolute path.

func SetToInt32s

func SetToInt32s(set []int32, a int32) []int32

SetToInt32s sets a element to the int32 set.

func SetToInt64s

func SetToInt64s(set []int64, a int64) []int64

SetToInt64s sets a element to the int64 set.

func SetToInterfaces

func SetToInterfaces(set []interface{}, a interface{}) []interface{}

SetToInterfaces sets a element to the interface{} set.

func SetToInts

func SetToInts(set []int, a int) []int

SetToInts sets a element to the int set.

func SetToStrings

func SetToStrings(set []string, a ...string) []string

SetToStrings sets a element to the string set.

func Sha1

func Sha1(b []byte) string

Sha1 returns the sha1 checksum string of the data.

func Sha256

func Sha256(b []byte) string

Sha256 returns the sha256 checksum string of the data.

func Sha512

func Sha512(b []byte) string

Sha512 returns the sha512 checksum string of the data.

func SnakeString

func SnakeString(s string) string

SnakeString converts the accepted string to a snake string (XxYy to xx_yy)

func SpaceInOne

func SpaceInOne(s string) string

SpaceInOne combines multiple consecutive space characters into one.

func StringMarshalJSON

func StringMarshalJSON(s string, escapeHTML bool) []byte

StringMarshalJSON converts the string to JSON byte stream.

Example
s := `<>&{}""`
fmt.Printf("%s\n", StringMarshalJSON(s, true))
fmt.Printf("%s\n", StringMarshalJSON(s, false))
Output:

"\u003c\u003e\u0026{}\"\""
"<>&{}\"\""

func StringToBytes

func StringToBytes(s string) []byte

StringToBytes convert string type to []byte type. NOTE: panic if modify the member value of the []byte.

func StringsConvert

func StringsConvert(a []string, fn func(string) (string, error)) ([]string, error)

StringsConvert converts the string slice to a new slice using fn. If fn returns error, exit the conversion and return the error.

func StringsConvertMap

func StringsConvertMap(a []string, fn func(string) (string, error)) (map[string]string, error)

StringsConvertMap converts the string slice to a new map using fn. If fn returns error, exit the conversion and return the error.

func StringsDistinct

func StringsDistinct(a []string) (set []string)

StringsDistinct creates a string set that removes the same elements and returns them in their original order.

func StringsToBools

func StringsToBools(a []string, emptyAsZero ...bool) ([]bool, error)

StringsToBools converts string slice to bool slice.

func StringsToFloat32s

func StringsToFloat32s(a []string, emptyAsZero ...bool) ([]float32, error)

StringsToFloat32s converts string slice to float32 slice.

func StringsToFloat64s

func StringsToFloat64s(a []string, emptyAsZero ...bool) ([]float64, error)

StringsToFloat64s converts string slice to float64 slice.

func StringsToInt16s

func StringsToInt16s(a []string, emptyAsZero ...bool) ([]int16, error)

StringsToInt16s converts string slice to int16 slice.

func StringsToInt32s

func StringsToInt32s(a []string, emptyAsZero ...bool) ([]int32, error)

StringsToInt32s converts string slice to int32 slice.

func StringsToInt64s

func StringsToInt64s(a []string, emptyAsZero ...bool) ([]int64, error)

StringsToInt64s converts string slice to int64 slice.

func StringsToInt8s

func StringsToInt8s(a []string, emptyAsZero ...bool) ([]int8, error)

StringsToInt8s converts string slice to int8 slice.

func StringsToInts

func StringsToInts(a []string, emptyAsZero ...bool) ([]int, error)

StringsToInts converts string slice to int slice.

func StringsToUint16s

func StringsToUint16s(a []string, emptyAsZero ...bool) ([]uint16, error)

StringsToUint16s converts string slice to uint16 slice.

func StringsToUint32s

func StringsToUint32s(a []string, emptyAsZero ...bool) ([]uint32, error)

StringsToUint32s converts string slice to uint32 slice.

func StringsToUint64s

func StringsToUint64s(a []string, emptyAsZero ...bool) ([]uint64, error)

StringsToUint64s converts string slice to uint64 slice.

func StringsToUint8s

func StringsToUint8s(a []string, emptyAsZero ...bool) ([]uint8, error)

StringsToUint8s converts string slice to uint8 slice.

func StringsToUints

func StringsToUints(a []string, emptyAsZero ...bool) ([]uint, error)

StringsToUints converts string slice to uint slice.

func TarGz

func TarGz(src, dst string, includePrefix bool, logOutput func(string, ...interface{}), ignoreElem ...string) (err error)

TarGz compresses and archives tar.gz file.

func TarGzTo

func TarGzTo(src string, dstWriter io.Writer, includePrefix bool, logOutput func(string, ...interface{}), ignoreElem ...string) (err error)

TarGzTo compresses and archives tar.gz to dst writer.

func URLRandomString

func URLRandomString(n int) string

URLRandomString returns a URL-safe, base64 encoded securely generated random string. It will panic if the system's secure random number generator fails to function correctly. The length n must be an integer multiple of 4, otherwise the last character will be padded with `=`.

func WalkDirs

func WalkDirs(targpath string, suffixes ...string) (dirlist []string)

WalkDirs traverses the directory, return to the relative path. You can specify the suffix.

func WriteFile

func WriteFile(filename string, data []byte, perm ...os.FileMode) error

WriteFile writes file, and automatically creates the directory if necessary. NOTE:

If perm is empty, automatically determine the file permissions based on extension.

func WritePidFile

func WritePidFile(pidFile ...string)

WritePidFile writes the current PID to the specified file.

Types

type KVData

type KVData map[string]interface{}

KVData key-value data

func (KVData) Get

func (k KVData) Get(key string) (value interface{}, exists bool)

Get returns the value for the given key, ie: (value, true). If the value does not exists it returns (nil, false)

func (KVData) GetBool

func (k KVData) GetBool(key string) (b bool)

GetBool returns the value associated with the key as a boolean.

func (KVData) GetDuration

func (k KVData) GetDuration(key string) (d time.Duration)

GetDuration returns the value associated with the key as a duration.

func (KVData) GetFloat64

func (k KVData) GetFloat64(key string) (f64 float64)

GetFloat64 returns the value associated with the key as a float64.

func (KVData) GetInt

func (k KVData) GetInt(key string) (i int)

GetInt returns the value associated with the key as an integer.

func (KVData) GetInt64

func (k KVData) GetInt64(key string) (i64 int64)

GetInt64 returns the value associated with the key as an integer.

func (KVData) GetString

func (k KVData) GetString(key string) (s string)

GetString returns the value associated with the key as a string.

func (KVData) GetStringMap

func (k KVData) GetStringMap(key string) (sm map[string]interface{})

GetStringMap returns the value associated with the key as a map of interfaces.

func (KVData) GetStringMapString

func (k KVData) GetStringMapString(key string) (sms map[string]string)

GetStringMapString returns the value associated with the key as a map of strings.

func (KVData) GetStringMapStringSlice

func (k KVData) GetStringMapStringSlice(key string) (smss map[string][]string)

GetStringMapStringSlice returns the value associated with the key as a map to a slice of strings.

func (KVData) GetStringSlice

func (k KVData) GetStringSlice(key string) (ss []string)

GetStringSlice returns the value associated with the key as a slice of strings.

func (KVData) GetTime

func (k KVData) GetTime(key string) (t time.Time)

GetTime returns the value associated with the key as time.

func (KVData) MustGet

func (k KVData) MustGet(key string) interface{}

MustGet returns the value for the given key if it exists, otherwise it panics.

type Map

type Map interface {
	// Load returns the value stored in the map for a key, or nil if no
	// value is present.
	// The ok result indicates whether value was found in the map.
	Load(key interface{}) (value interface{}, ok bool)
	// Store sets the value for a key.
	Store(key, value interface{})
	// LoadOrStore returns the existing value for the key if present.
	// Otherwise, it stores and returns the given value.
	// The loaded result is true if the value was loaded, false if stored.
	LoadOrStore(key, value interface{}) (actual interface{}, loaded bool)
	// Range calls f sequentially for each key and value present in the map.
	// If f returns false, range stops the iteration.
	Range(f func(key, value interface{}) bool)
	// Random returns a pair kv randomly.
	// If exist=false, no kv data is exist.
	Random() (key, value interface{}, exist bool)
	// Delete deletes the value for a key.
	Delete(key interface{})
	// Clear clears all current data in the map.
	Clear()
	// Len returns the length of the map.
	Len() int
}

Map is a concurrent map with loads, stores, and deletes. It is safe for multiple goroutines to call a Map's methods concurrently.

func AtomicMap

func AtomicMap() Map

AtomicMap creates a concurrent map with amortized-constant-time loads, stores, and deletes. It is safe for multiple goroutines to call a atomicMap's methods concurrently. From go v1.9 sync.Map.

func RwMap

func RwMap(capacity ...int) Map

RwMap creates a new concurrent safe map with sync.RWMutex. The normal Map is high-performance mapping under low concurrency conditions.

type Random

type Random struct {
	// contains filtered or unexported fields
}

Random random string creator.

func NewRandom

func NewRandom(alphabet string) *Random

NewRandom creates a new padded Encoding defined by the given alphabet string.

func URLRandom

func URLRandom() *Random

URLRandom returns Random object with URL encoder.

func (*Random) ParseTime

func (r *Random) ParseTime(stringWithTime string) (unixTs int64, err error)

ParseTime parses UNIX timestamp(in second) from stringWithTime.

func (*Random) RandomString

func (r *Random) RandomString(length int) string

RandomString returns a base64 encoded securely generated random string. It will panic if the system's secure random number generator fails to function correctly. The length n must be an integer multiple of 4, otherwise the last character will be padded with `=`.

func (*Random) RandomStringWithTime

func (r *Random) RandomStringWithTime(length int, unixTs int64) (string, error)

RandomStringWithTime returns a random string with UNIX timestamp(in second). unixTs: range [0,56800235583], that is 56800235583 3769-12-05 11:13:03 +0800 CST to 3769-12-05 11:13:03 +0800 CST

Directories

Path Synopsis
cron
Package cron implements a cron spec parser and job runner.
Package cron implements a cron spec parser and job runner.
Package cmder exec cmd and catch the result.
Package cmder exec cmd and catch the result.
errors is improved errors package.
errors is improved errors package.
graceful package shutdown or reboot current process gracefully.
graceful package shutdown or reboot current process gracefully.
inherit_net
Package inherit_net provides a family of Listen functions that either open a fresh connection or provide an inherited connection from when the process was started.
Package inherit_net provides a family of Listen functions that either open a fresh connection or provide an inherited connection from when the process was started.
internal
Package status is a handling status with code, msg, cause and stack.
Package status is a handling status with code, msg, cause and stack.
Package versioning is a version comparison tool that conforms to semantic version 2.0.0
Package versioning is a version comparison tool that conforms to semantic version 2.0.0

Jump to

Keyboard shortcuts

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