Install golang-github-abbot-go-http-auth-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-abbot-go-http-auth-dev
Description:
Basic and Digest HTTP Authentication for golang http
HTTP Basic and HTTP Digest authentication in Go language. This library designed as a simple wrapper for http.RequestHandler functions. Features: * HTTP Basic and HTTP Digest authentication. * htpasswd and htdigest formatted files. * Automatic reloading of password files. * Pluggable interface for user/password storage. * MD5 and SHA1 for Basic authentication password storage. * Configurable Digest nonce cache size with expiration. * Wrapper for legacy http handlers (http.HandlerFunc interface)
Homepage: https://github.com/abbot/go-http-auth
Version: 0.0~git20150714.0.46b9627-2
Section: universe/devel