8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
11 lines
154 B
Go
11 lines
154 B
Go
// +build go1.4
|
|
|
|
package handlers
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
func basicAuth(r *http.Request) (username, password string, ok bool) {
|
|
return r.BasicAuth()
|
|
}
|