package
Version:
v0.0.0-...-0eae801
Opens a new window with list of versions in this module.
Published: Feb 13, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func LoadJSONConfig(config interface{}, filename string)
LoadJSONConfig is used to load config files as json format to config.
config should be a pointer to structure, if not, panic
type MqConfig struct {
Topics []string `json:"topics"`
Servers []string `json:"servers"`
ConsumerID string `json:"consumerGroup"`
}
MqConfig ...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.