mirror of
https://github.com/openfaas/faas.git
synced 2025-06-19 12:36:40 +00:00
Vendoring with Glide and delete function handler
This commit is contained in:
11
gateway/vendor/github.com/docker/distribution/registry/handlers/basicauth.go
generated
vendored
Normal file
11
gateway/vendor/github.com/docker/distribution/registry/handlers/basicauth.go
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
// +build go1.4
|
||||
|
||||
package handlers
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func basicAuth(r *http.Request) (username, password string, ok bool) {
|
||||
return r.BasicAuth()
|
||||
}
|
Reference in New Issue
Block a user