add better generate
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
3fc6abf56b
commit
cdd93563f5
5655 changed files with 1187011 additions and 392 deletions
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()
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue