golang.org/x/pkgsite/internal/config.Config.DBSecondaryHost (field)
7 uses
golang.org/x/pkgsite/internal/config (current package)
config.go#L158: DBSecondaryHost string // DB host to use if first one is down
config.go#L242: if c.DBSecondaryHost == "" {
config.go#L245: return c.dbConnInfo(c.DBSecondaryHost)
config.go#L366: DBSecondaryHost: chooseOne(os.Getenv("GO_DISCOVERY_DATABASE_SECONDARY_HOST")),
config.go#L515: overrideString("DBSecondaryHost", &cfg.DBSecondaryHost, ov.DBSecondaryHost)
golang.org/x/pkgsite/cmd/internal/cmdconfig
cmdconfig.go#L117: cfg.DBHost, err, cfg.DBSecondaryHost)
cmdconfig.go#L122: log.Infof(ctx, "connected to secondary host %s", 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. |