configuration

package
v0.0.0-...-1b5cee2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Bookkeeper    bookkeeping.Config    `yaml:"bookkeeper"`
	Server        server.Config         `yaml:"server"`
	Database      repository.DBConfig   `yaml:"database"`
	DataProvider  dataprovider.Config   `yaml:"data_provider"`
	Validator     validator.Config      `yaml:"validator"`
	FileOperator  fileoperations.Config `yaml:"file_operator"`
	SignerService signerservice.Config  `yaml:"signer_service"`
}

Configuration is the main configuration of the application that corresponds to the *.yaml file that holds the configuration.

func Read

func Read(path string) (Configuration, error)

Read reads the configuration from the file and returns the Configuration with set fields according to the yaml setup.

Jump to

Keyboard shortcuts

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