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