package
Version:
v0.0.0-...-08ad29a
Opens a new window with list of versions in this module.
Published: Aug 15, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Conf struct {
ServicePort int `env:"PORT" envDefault:"9090"`
MetricsPort int `env:"METRICS_PORT" envDefault:"7000"`
KafkaBootstrapServers []string `env:"KAFKA_PRODUCER_BOOTSTRAP_SERVERS" envDefault:"localhost:9092"`
DatabaseConnectUrl string `env:"DATABASE_URL" envDefault:"root:@/test"`
}
func (c *Conf) Print() interface{}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.