Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flags ¶
type Flags struct { Environment string `envconfig:"SERVICE_LENS_ENV" default:"production"` Addr string `envconfig:"SERVICE_LENS_ADDR" default:":8084"` DatabaseURI string `envconfig:"POSTGRES_URL" default:""` DatabaseTablePrefix string `envconfig:"SERVICE_LENS_DATABASE_TABLE_PREFIX" default:"service_lens_"` GitHubCallbackURL string `envconfig:"SERVICE_LENS_GITHUB_CALLBACK_URL" default:""` GitHubClientID string `envconfig:"SERVICE_LENS_GITHUB_CLIENT_ID" default:""` GitHubClientSecret string `envconfig:"SERVICE_LENS_GITHUB_CLIENT_SECRET" default:""` EntraIDClientID string `envconfig:"SERVICE_LENS_ENTRAID_CLIENT_ID" default:""` EntraIDClientSecret string `envconfig:"SERVICE_LENS_ENTRAID_CLIENT_SECRET" default:""` EntraIDCallbackURL string `envconfig:"SERVICE_LENS_ENTRAID_CALLBACK_URL" default:""` EntraIDTenantID string `envconfig:"SERVICE_LENS_ENTRAID_TENANT_ID" default:""` }
Flags contains the command line flags.
Click to show internal directories.
Click to hide internal directories.