Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Provide(NewConfig)
Module for fx.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AppName string `envconfig:"APP_NAME" required:"true"` HTTPPort string `envconfig:"HTTP_PORT" required:"true" default:"8080"` GRPCPort string `envconfig:"GRPC_PORT" required:"true" default:"8081"` DatabaseURL string `envconfig:"DATABASE_URL" required:"true"` TraceHost string `envconfig:"TRACE_HOST" required:"true" default:"localhost:6831"` CacheHost string `envconfig:"CACHE_HOST" required:"true" default:"localhost:6379"` }
Config for the services.
Click to show internal directories.
Click to hide internal directories.