Categorygithub.com/k773/utils
modulepackage
0.0.0-20240529132111-def36b4a2b05
Repository: https://github.com/k773/utils.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package cookiejar implements an in-memory RFC 6265-compliant http.CookieJar.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
Append is slightly more effective than go's append(): 10k+10k el.: {"go": 12000ns, "utils": 8000ns}.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Copy is deprecated - use slices.Clone instead.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DelayedExecution will trigger wg only at the end of the execution; increasing the value before calling this function is up to the caller.
DelayedProcessesPerformer : Interval may be 0 -> action will only be performed once.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DEPRECATED.
DEPRECATED.
DEPRECATED.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetSocks5ProxiedFastHttpClient returns a fasthttp client with installed SOCKS5 dialer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HttpServeBytesFunc writes content of 'a' slice into the response.
HttpWrapWithResponseCodeFunc sets the specified status code to the http response;.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IterateFCond iterates over given src until either eof or convert() returns false.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MapMap will call f() for each keypair of the provided map and combine the results into a single map.
No description provided by the author
MapSlice will call f() for each index of the provided slice and combine the results into a single array.
MapSlice2Map will call f() for each index of the provided slice and combine the results into a single map.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseAuthorizationUrl parses the url in the following format: scheme://login:password@host Also works on proxies.
No description provided by the author
ParseProxy parses both proxy formats: proto://login:password@host:port, host:port:login:password.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RandomUsername retrieves a random username from steam persona name (not using steam's username for that because too little people have it).
RandString generates random string of characters [0-9a-Z].
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DEPRECATED.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReflectGetFieldByName retrieves even private fields from the provided structure.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RestyExtractProxy extracts proxy from the provided resty client.
RestyExtractProxyS extracts proxy from the provided resty client and returns it in the following format: scheme://login:password@host:port.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RunForeverSyncUntil : f func should return false to stop the execution.
RunHttpOnRandomFreePortAsync will start new http server running on a separate goroutine serving the provided handler.
RunHttpOnRandomFreePortSync will start new http server running on the same goroutine onPort will be called (synchronously) if the listener has successfully bound to a free port.
RunHttpsTlsOnRandomFreePortSync will start new https+TLS server running on the same goroutine onPort will be called (synchronously) if the listener has successfully bound to a free port.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SlicesSubtract returns array of elements that exist in the array 1 but do not exist in the array 2.
SplitNumberIntoParts splits number into n equal parts.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Uint2strFast converts uint to string Uint2strFast(uint(int)) approx 33% faster than Int2strFast (4ns vs 3ns).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DEPRECATED.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MathRand is the implementation of "math/rand".Reader.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FileInfo implements os.FileInfo.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RateLimiterV6 is the wrapper over RateLimiterV5 with statically defined rate limit.
If restriction is 0, restriction is not applied [new, new-1, new-2, new-3, ...] */.
If restriction is 0, restriction is not applied [..., new-3, new-2, new-1, new] */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SafeValueJ is a mutex-guarded safe value, with custom json encoder/decoder.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author