mirror of
https://github.com/distribution/distribution.git
synced 2025-07-18 17:32:36 +00:00
Go 1.4 is too old and should be dropped safely. Signed-off-by: bin liu <liubin0329@gmail.com>
10 lines
137 B
Go
10 lines
137 B
Go
package handlers
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
func basicAuth(r *http.Request) (username, password string, ok bool) {
|
|
return r.BasicAuth()
|
|
}
|