Files

14 lines
208 B
Go

package auth
import "net/http"
type noAuth struct{}
func (a noAuth) Authenticate(w http.ResponseWriter, r *http.Request) (bool, error) {
return true, nil
}
func NewNoAuth() *noAuth {
return &noAuth{}
}