Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { // service config ProjectID string `env:"GOOGLE_CLOUD_PROJECT,required"` // GCP function runtime Timeout time.Duration `env:"TIMEOUT,default=10s,strict"` FunctionName string `env:"FUNCTION_NAME,default=do_that_thing"` Port string `env:"PORT,default=8080"` }
Configuration is exposed for the application to be able to see what the application config looks like
Click to show internal directories.
Click to hide internal directories.