# Functions
Get "Conten-Type" value from str.
Create a Chrome extension match pattern style matcher, that test a url against the pattern.
No description provided by the author
ciphertext should be the result of EncryptToBase64String.
ciphertext (base62 string) should be the result of EncryptToString.
Encrypt data using cipher, return []byte.
Encrypt data using cipher, return base64 string of nonce+cipherdata.
Encrypt data using cipher, return base62 string of nonce+cipherdata.
No description provided by the author
No description provided by the author
No description provided by the author
Return t unconditionally.
Get a cipher from passphrase and salt.
Return a AES-256-GCM cipher using key derived from either or both of passphrase and ECDH key exchange.
Tell if abspath is a file system root path (e.g.
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
Parse http content-type header and return mediatype, e.g.
No description provided by the author
Reference: https://stackoverflow.com/questions/18315787/http-1-1-response-to-multiple-range .
Parse binary file path from "exec://" url.
parse a "file://" (or custom scheme with same struct) url, extract full file system path.
No description provided by the author
Similar to ParseFileUrlFilepath, but treat urlObj as a local file system url automatically.
Parse standard HTTP_PROXY, HTTPS_PROXY, NO_PROXY (and lowercase versions) envs, return proxy for urlStr.
No description provided by the author
Return a cryptographically secure random string of format /[a-zA-Z0-9]{length}/.
Return io.ReadCloser that return prefix, then read from rc.
split a csv like line to values.
Unmarshal a json / yaml / toml / xml string according to contentType.
# Constants
No description provided by the author
# Variables
No description provided by the author
all supported impersonate names.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
A custom time format, that: When unmarshal from json, can be parsed from multiple time formats; When marshal into json, serialized to timestamp seconds number.