config

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package config handles the configuration of nirimgr.

See an example configuration in the README.md.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version contains the current version of nirimgr
	Version string = "dev"
	// BuildDate is the date when nirimgr was built
	BuildDate string = "unknown"
	// CommitSHA contains the build commit SHA hash.
	CommitSHA string = "unknown"
	// Config contains all configurations
	Config *models.Config
)

Functions

func Configure

func Configure(filename string) error

Configure reads the configuration file (json) to get the configuration.

Sets the global Config, so it can be accessed from anywhere. See example configuration in the README.md.

Types

This section is empty.

Jump to

Keyboard shortcuts

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