Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
SDP--PKI-CyberSec-/CTng/config/ReadMe.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
16 lines (11 sloc)
663 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration Implementation | |
## Contents: | |
- `types.go`: defines the gossiper and monitor structs which will be be populated by config files (json files) | |
- `config_loaders.go`: contains functions that load configuration settings from json files | |
- `config/test`: contains the json files that are used for testing | |
## config_loaders.go: | |
- Loads the config files for both monitor and gossiper | |
- Populates both monitor and gossiper configs from given file paths | |
## config_test.go | |
This tests that the information is populated correctly. Given the json files inside the folder /test, it will read and populate the respective structs | |
##### Readme Written by Isaac |