Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvSpec ¶
type EnvSpec struct {
OtelGRPCEndpoint string `envconfig:"otel_grpc_endpoint"`
OtelHTTPEndpoint string `envconfig:"otel_http_endpoint"`
TracingEnabled bool `envconfig:"tracing_enabled" default:"true"`
LogLevel string `envconfig:"log_level" default:"error"`
Port int `envconfig:"port" default:"8080"`
ApiToken string `envconfig:"api_token" default:""`
SalesforceEnabled bool `envconfig:"salesforce_enabled" default:"true"`
SalesforceDomain string `envconfig:"salesforce_domain"`
SalesforceConsumerKey string `envconfig:"salesforce_consumer_key"`
SalesforceConsumerSecret string `envconfig:"salesforce_consumer_secret"`
}
EnvSpec is the basic environment configuration setup needed for the app to start
Click to show internal directories.
Click to hide internal directories.