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
Click to show internal directories.
Click to hide internal directories.