add github.com/docker/docker dependency
This commit is contained in:
11
vendor/github.com/docker/distribution/registry/handlers/basicauth.go
generated
vendored
Normal file
11
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