config

package
v0.0.0-...-8bcbc91 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerConfig

type ServerConfig struct {
	APISecretHash string
	DefaultRole   string
	S3Config      s3.Config
	Server        struct {
		Address string
	}
	LogLevel slog.Level
}

ServerConfig is the root config for a nightscout server

func (*ServerConfig) RegisterEnv

func (c *ServerConfig) RegisterEnv() error

RegisterEnv registers config from the environment

Jump to

Keyboard shortcuts

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