type golang.org/x/pkgsite/internal/config.Config
35 uses
golang.org/x/pkgsite/internal/config (current package)
config.go#L113: type Config struct {
config.go#L194: func (c *Config) AppVersionLabel() string {
config.go#L203: func (c *Config) OnAppEngine() bool {
config.go#L208: func (c *Config) OnGKE() bool {
config.go#L214: func (c *Config) OnGCP() bool {
config.go#L234: func (c *Config) DBConnInfo() string {
config.go#L241: func (c *Config) DBSecondaryConnInfo() string {
config.go#L249: func (c *Config) dbConnInfo(host string) string {
config.go#L260: func (c *Config) HostAddr(dflt string) string {
config.go#L269: func (c *Config) DebugAddr(dflt string) string {
config.go#L278: func (c *Config) DeploymentEnvironment() string {
config.go#L294: func (c *Config) Application() string {
config.go#L338: func Init(ctx context.Context) (_ *Config, err error) {
config.go#L342: cfg := &Config{
config.go#L508: func processOverrides(cfg *Config, bytes []byte) {
config.go#L545: func (c *Config) Dump(w io.Writer) error {
golang.org/x/pkgsite/internal/dcensus
dcensus.go#L82: func Init(cfg *config.Config, views ...*view.View) error {
dcensus.go#L120: func exportToStackdriver(ctx context.Context, cfg *config.Config) {
dcensus.go#L156: func NewViewExporter(cfg *config.Config) (_ *stackdriver.Exporter, err error) {
dcensus.go#L186: func stackdriverLabels(cfg *config.Config) *stackdriver.Labels {
golang.org/x/pkgsite/internal/log
log.go#L147: func UseStackdriver(ctx context.Context, cfg *config.Config, logName string) (_ *logging.Logger, err error) {
golang.org/x/pkgsite/internal/queue
queue.go#L39: func New(ctx context.Context, cfg *config.Config, queueName string, numWorkers int, expGetter middleware.ExperimentGetter, processFunc inMemoryProcessFunc) (Queue, error) {
queue.go#L82: func newGCP(cfg *config.Config, client *cloudtasks.Client, queueID string) (_ *GCP, err error) {
golang.org/x/pkgsite/internal/worker
pages.go#L91: Config *config.Config
pages.go#L191: Config *config.Config
pages.go#L209: func env(cfg *config.Config) string {
server.go#L43: cfg *config.Config
server.go#L77: func NewServer(cfg *config.Config, scfg ServerConfig) (_ *Server, err error) {
golang.org/x/pkgsite/cmd/internal/cmdconfig
cmdconfig.go#L28: func Logger(ctx context.Context, cfg *config.Config, logName string) middleware.Logger {
cmdconfig.go#L40: func ReportingClient(ctx context.Context, cfg *config.Config) *errorreporting.Client {
cmdconfig.go#L58: func Experimenter(ctx context.Context, cfg *config.Config, getter middleware.ExperimentGetter, reportingClient *errorreporting.Client) *middleware.Experimenter {
cmdconfig.go#L67: func ExperimentGetter(ctx context.Context, cfg *config.Config) middleware.ExperimentGetter {
cmdconfig.go#L98: func OpenDB(ctx context.Context, cfg *config.Config, bypassLicenseCheck bool) (_ *postgres.DB, err error) {
golang.org/x/pkgsite/cmd/worker
main.go#L158: func getHARedis(ctx context.Context, cfg *config.Config) *redis.Client {
main.go#L165: func getCacheRedis(ctx context.Context, cfg *config.Config) *redis.Client {
 |
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. |