env

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	HttpPort uint16 `env:"HTTP_PORT" required:"true"`

	KlHookTriggerAuthzSecret string `env:"KL_HOOK_TRIGGER_AUTHZ_SECRET" required:"true"`

	GitWebhooksTopic  string `env:"GIT_WEBHOOKS_TOPIC" required:"false"`
	GithubAuthzSecret string `env:"GITHUB_AUTHZ_SECRET" required:"false"`
	GitlabAuthzSecret string `env:"GITLAB_AUTHZ_SECRET" required:"false"`
	NatsURL           string `env:"NATS_URL" required:"false"`

	CommsService      string `env:"COMMS_SERVICE" required:"true"`
	DiscordWebhookUrl string `env:"DISCORD_WEBHOOK_URL" required:"false"`
	WebhookURL        string `env:"WEBHOOK_URL" required:"true"`

	WebhookTokenHashingSecret string `env:"WEBHOOK_TOKEN_HASHING_SECRET" required:"true"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL