MCPcopy Create free account
hub / github.com/bytesizedhosting/bcd / defaultCachePath

Function defaultCachePath

cmd/bcd-proxy/ssl_server.go:24–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22}
23
24func defaultCachePath() string {
25 home, err := core.Homedir()
26 if err != nil {
27 log.Panic("Could not find out homedir, exiting")
28 }
29 return path.Join(home, ".config", "bcd-proxy")
30}
31
32func NewAutoHttpsServer(cachePath string, email string, handler http.Handler) *http.Server {
33 if cachePath == "" {

Callers 1

NewAutoHttpsServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected