{"id":63835,"library":"goji-httpauth","title":"Goji HTTP Auth","description":"HTTP authentication middleware for Goji web framework.","status":"active","version":"0.0.0-20160601135302-2da839ab0f4d","language":"go","source_language":null,"source_url":"https://github.com/goji/httpauth","tags":["http","auth","middleware","goji"],"install":[{"cmd":"go get github.com/goji/httpauth","lang":"bash","label":"Install github.com/goji/httpauth"}],"dependencies":[],"imports":[{"symbol":"httpauth","correct":"github.com/goji/httpauth"}],"quickstart":{"code":"package main\n\nimport (\n    \"net/http\"\n    \"github.com/goji/httpauth\"\n)\n\nfunc main() {\n    handler := httpauth.SimpleBasicAuth(\"user\", \"pass\")(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n        w.Write([]byte(\"Hello\"))\n    }))\n    http.ListenAndServe(\":8080\", handler)\n}","lang":"go","description":"Add basic auth to an HTTP handler."},"warnings":[],"env_vars":null,"search_vec":"'auth':3,12 'authent':5 'framework':10 'goji':1,8,14 'http':2,4,11 'middlewar':6,13 'web':9","created_at":"2026-06-17T16:48:23.811084+00:00","updated_at":"2026-06-17T16:48:23.811084+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/goji/httpauth","github":"https://github.com/goji/httpauth","docs":"https://pkg.go.dev/github.com/goji/httpauth#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["auth","web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}