Documentation
¶
Index ¶
- Constants
- func BaseDecode(encodedStr string, alph string) int
- func BaseEncode(id int, alph string) string
- func GetURL(w http.ResponseWriter, r *http.Request)
- func Sha256Checker(hash string) error
- func StandardizeURL(rawLink string) (string, error)
- func TraceURL(link string) (string, error)
- func UserErrorHandle(errorText string, errorCode int, nw http.ResponseWriter)
Constants ¶
View Source
const Base16Alphabet = "0123456789abcdef"
View Source
const Base64Alphabet = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"
Variables ¶
This section is empty.
Functions ¶
func BaseDecode ¶
func BaseEncode ¶
func Sha256Checker ¶
func StandardizeURL ¶
func UserErrorHandle ¶
func UserErrorHandle(errorText string, errorCode int, nw http.ResponseWriter)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.