//
pkg.gl
Category
github.com/smart-edge-open/edge-services
pkg
config
package
0.0.0-20240606185916-b63c8e6aadc8
Repository:
https://github.com/smart-edge-open/edge-services.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
3
Files
36 SLOC
#
Functions
LoadJSONConfig
LoadJSONConfig reads a file located at configPath and unmarshals it to config structure.
LoadJSONConfigWithLimit
LoadJSONConfigWithLimit loads a config from a JSON file if it's not greater than szLimit bytes.