mirror of
https://github.com/openfaas/faas.git
synced 2025-06-16 12:16:47 +00:00
12 lines
154 B
Go
12 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()
|
|
}
|