package
Version:
v0.0.0-...-132711c
Opens a new window with list of versions in this module.
Published: Dec 20, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Mongo MongoConfig `json:"mongo"`
Host string `json:"host"`
Proxyhost string `json:"proxyhost"`
}
Config struct defines the config structure
NewConfig parses config file and return Config struct
type MongoConfig struct {
Addr string `json:"addr"`
DB string `json:"db"`
Table string `json:"table"`
Event string `json:"event"`
}
MongoConfig has config values for Mongo
Source Files
¶
Click to show internal directories.
Click to hide internal directories.