Documentation ¶
Index ¶
Constants ¶
View Source
const ( ServiceName = "controller" ServiceVersion = "1.0" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { DB struct { User string `env:"DB_USER" envDefault:"postgres"` Password string `env:"DB_PASS"` Name string `env:"DB_NAME" envDefault:"postgres"` InstanceConnectionName string `env:"INSTANCE_CONNECTION_NAME"` } MathRequestTopic string `env:"MATH_REQUEST_TOPIC,required"` MathResultSubscription string `env:"MATH_RESULT_SUBSCRIPTION,required"` GoogleCloudProject string `env:"GOOGLE_CLOUD_PROJECT,required"` ListenAddr string `env:"LISTEN_ADDR" envDefault:"0.0.0.0:8080"` }
Click to show internal directories.
Click to hide internal directories.