Discover Packages
github.com/bob620/bakaguard
config
package
Version:
v0.0.0-...-c935f35
Opens a new window with list of versions in this module.
Published: May 26, 2020
License: MIT
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
Documentation
¶
func LoadConfiguration() (conf Config )
type Interface struct {
Name string `json:"name"`
}
type Network struct {
IP string `json:"ip"`
Mask [4]byte `json:"mask"`
}
type Redis struct {
Port int `json:"port"`
Database int `json:"db"`
}
type StorageType struct {
Key string `json:"key"`
Type string `json:"type"`
}
type WSGroup struct {
Description string `json:"description"`
Network Network `json:"network"`
}
type WSUsers struct {
Password string `json:"password"`
Groups map[string ][]string `json:"groups"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.