Imports github.com/bborbe/io/util github.com/foomo/htpasswd github.com/golang/glog github.com/pkg/errors Standard library imports bytes context crypto/sha256 encoding/base64 encoding/json fmt io io/ioutil net/http net/url os path/filepath strings text/template time