config

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package config contains the application configuration

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Hostname    string
	Server      string
	Token       string
	Environment string
	HostIP      string
	Insecure    bool
	Debug       bool
	Version     string
	Updates     chan []byte
}

func New

func New(ctx context.Context, cmd *cli.Command) (*Config, error)

New loads configuration from environment variables

Jump to

Keyboard shortcuts

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