implemented trust mode

* implemented possibility to set the trust mode globally

see #240
This commit is contained in:
Bernhard B
2022-05-06 19:28:23 +02:00
parent a6927896ef
commit 25775a4c10
8 changed files with 348 additions and 122 deletions

View File

@@ -113,7 +113,7 @@ func main() {
fifoPathname := fifoBasePathName + strconv.FormatInt(ctr, 10)
tcpPort := tcpBasePort + ctr
jsonRpc2ClientConfig.AddEntry(number, utils.ConfigEntry{TcpPort: tcpPort, FifoPathname: fifoPathname})
jsonRpc2ClientConfig.AddEntry(number, utils.JsonRpc2ClientConfigEntry{TcpPort: tcpPort, FifoPathname: fifoPathname})
ctr += 1
os.Remove(fifoPathname) //remove any existing named pipe