package
0.0.0-20240618082255-83008eb4fce2
Repository: https://github.com/bittorrent/go-btfs.git
Documentation: pkg.go.dev
# Functions
EncodePath encode the strings from UTF-8 byte representations to HTML hex escape sequences
This is necessary since regular url.Parse() and url.Encode() functions do not support UTF-8 non english characters cannot be parsed due to the nature in which url.Encode() is written
This function on the other hand is a direct replacement for url.Encode() technique to support pretty much every UTF-8 character.
GetCanonicalRequest generate a canonical request of style
canonicalRequest =
<HTTPMethod>\n <CanonicalURI>\n <CanonicalQueryString>\n <CanonicalHeaders>\n <SignedHeaders>\n <HashedPayload>.
No description provided by the author
GetRequestAuthType Get request authentication type.
GetSignature final signature in hexadecimal form.
GetSignedHeaders generate a string i.e alphabetically sorted, semicolon-separated list of lowercase request header names.
GetSigningKey hmac seed to calculate final signature.
GetStringToSign a string based on selected query values.
IsRequestSignatureV4 Verify if request has AWS Signature Version '4'.
No description provided by the author
# Constants
List of all supported auth types.
List of all supported auth types.
List of all supported auth types.
List of all supported auth types.
List of all supported auth types.
List of all supported auth types.
List of all supported auth types.
List of all supported auth types.
List of all supported auth types.
List of all supported auth types.
# Interfaces
No description provided by the author