io.randomseed.bankster.config

added in 1.0.0

Bankster library, configuration handling.

countries

added in 1.0.0

(countries cfg)

Returns countries map of the given configuration map.

currencies

added in 1.0.0

(currencies cfg)

Returns currencies map of the given configuration map.

default-resource-path

Default registry resource file – relative path.

load

added in 1.0.0

(load)(load resource-path)

Loads data structures from an EDN file. The given path should reside in one of the resource directories. If it is not given, the default-resource-path will be used.

localized

added in 1.0.0

(localized cfg)

Returns localized properties map of the given configuration map.

propagate-keys

added in 2.0.0

(propagate-keys cfg)

Returns a collection of currency-map keys that should be propagated into Currency records as extension fields when loading the configuration.

traits

added in 2.0.0

(traits cfg)

Returns currency traits map of the given configuration map.

user-resource-path

Additional registry resource file – relative path.

version

added in 1.0.0

(version cfg)

Returns version string of the given configuration map.

weights

added in 2.0.0

(weights cfg)

Returns currency weights map of the given configuration map.