config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package config contens the configuration for the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AppID      string `env:"APP_ID,required"`
	AppSecret  string `env:"APP_SECRET,required"`
	Email      string `env:"EMAIL,required"`
	Password   string `env:"PASSWORD,required"`
	InverterSN string `env:"SN,required"`
}

Config the actual configuration.

func Must

func Must() Config

Must returns the config or exit 1.

Jump to

Keyboard shortcuts

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