/go-http-server-basic-auth

Simplest basic authentificator

Primary LanguageGoBSD Zero Clause License0BSD

go-http-server-basic-auth

Simplest basic authenticator for HTTP server. Also contains CORS handler to allow access from everywhere. You must be careful and check auth. A useful addition is a Recovery handler to handle panic and print it into log.

Install

go get -u github.com/stokito/go-http-server-basic-auth

Usage

See example folder

License

0BSD (similar to Public Domain)

See also