config

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingSupabaseURL    = newConfigError("missing Supabase URL")
	ErrMissingSupabaseAPIKey = newConfigError("missing Supabase API key")
)

Error definitions

Functions

This section is empty.

Types

type Config

type Config struct {
	SupabaseURL    string
	SupabaseAPIKey string
}

Config holds the application configuration

func New

func New() *Config

New creates a new configuration with values from environment variables

func (*Config) Validate

func (c *Config) Validate() error

Validate checks if the required configuration values are set

Jump to

Keyboard shortcuts

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