golang.org/x/pkgsite/internal/config.Config.DBHost (field)
8 uses
golang.org/x/pkgsite/internal/config (current package)
config.go#L157: DBSecret, DBUser, DBHost, DBPort, DBName string
config.go#L235: return c.dbConnInfo(c.DBHost)
config.go#L363: DBHost: chooseOne(GetEnv("GO_DISCOVERY_DATABASE_HOST", "localhost")),
config.go#L448: if cfg.DBHost == "" {
config.go#L514: overrideString("DBHost", &cfg.DBHost, ov.DBHost)
golang.org/x/pkgsite/cmd/internal/cmdconfig
cmdconfig.go#L106: log.Infof(ctx, "opening database on host %s", cfg.DBHost)
cmdconfig.go#L109: log.Infof(ctx, "connected to primary host: %s", cfg.DBHost)
cmdconfig.go#L117: cfg.DBHost, err, cfg.DBSecondaryHost)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |