config

package
v0.0.0-...-6981f59 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = Config_t{}

Functions

func LoadConfig

func LoadConfig() error

Types

type Config_t

type Config_t struct {
	WakatimeAppID     string `env:"WAKATIME_APP_ID"`
	WakatimeAppSecret string `env:"WAKATIME_CLIENT_SECRET"`
	CookieSecret      string `env:"COOKIE_SECRET"`

	PSQLEndpoint string `env:"PSQL_ENDPOINT"`
	PSQLPort     string `env:"PSQL_PORT"`
	PSQLDatabase string `env:"PSQL_DATABASE"`
	PSQLUser     string `env:"PSQL_USER"`
	PSQLPassword string `env:"PSQL_PASSWORD"`

	SlackAccessToken string `env:"SLACK_ACCESS_TOKEN"`

	ServerPort string
	ServerURL  string
}

Jump to

Keyboard shortcuts

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