frostfs-node/cmd/neofs-node/config
Leonard Lyubich 7e11bf9a55 [#493] cmd/node: Implement a basic configuration component
Create `config` package nearby storage node application. Implement `Config`
as a wrapper over `viper.Viper` that provides the minimum functionality
required by the application.

The constructor allows you to read the config from the file. Methods are
provided for reading subsections and values from the config tree. Helper
functions are implemented to cast a value to native Go types.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-01 11:45:38 +03:00
..
test [#493] cmd/node: Implement a basic configuration component 2021-06-01 11:45:38 +03:00
calls.go [#493] cmd/node: Implement a basic configuration component 2021-06-01 11:45:38 +03:00
calls_test.go [#493] cmd/node: Implement a basic configuration component 2021-06-01 11:45:38 +03:00
cast.go [#493] cmd/node: Implement a basic configuration component 2021-06-01 11:45:38 +03:00
cast_test.go [#493] cmd/node: Implement a basic configuration component 2021-06-01 11:45:38 +03:00
config.go [#493] cmd/node: Implement a basic configuration component 2021-06-01 11:45:38 +03:00
config_test.go [#493] cmd/node: Implement a basic configuration component 2021-06-01 11:45:38 +03:00
opts.go [#493] cmd/node: Implement a basic configuration component 2021-06-01 11:45:38 +03:00
util.go [#493] cmd/node: Implement a basic configuration component 2021-06-01 11:45:38 +03:00