mirror of
https://github.com/dragonheim/gagent.git
synced 2025-04-26 02:18:59 -07:00
Adding support for a blockchain DB for agent history.
This commit is contained in:
parent
0d0695d195
commit
5e69931ed7
7 changed files with 199 additions and 147 deletions
|
@ -23,7 +23,9 @@ func Main(wg *sync.WaitGroup, config gs.GagentConfig, agent string) {
|
|||
log.Printf("[INFO] Starting client\n")
|
||||
|
||||
for key := range config.Routers {
|
||||
// Generate connect string for this router.
|
||||
/*
|
||||
* Generate connect string for this router.
|
||||
*/
|
||||
rport := config.ClientPort
|
||||
if config.Routers[key].ClientPort != 0 {
|
||||
rport = config.Routers[key].ClientPort
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue