config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port              string
	Environment       string
	DatabaseURL       string
	StaticAssetsPath  string
	JWTSecret         string
	JWTIssuer         string
	JWTAudience       string
	JWTExpiration     string // in seconds
	RefreshExpiration string // in seconds
	RateLimit         float64
	RateRefresh       float64 // per second
	SendGridAPIKey    string
	GreedEmail        string
	PlaidClientID     string
	PlaidSecret       string
	PlaidWebhookURL   string
	AESKey            string
}

Configuration struct holding all .env variables for server

func LoadConfig

func LoadConfig() (*Config, error)

Jump to

Keyboard shortcuts

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