support for nats websocket amidaware/tacticalrmm@42e1717455
This commit is contained in:
parent
aed33b9a95
commit
8d2511129c
8 changed files with 29 additions and 13 deletions
|
|
@ -61,6 +61,8 @@ func NewAgentConfig() *rmm.AgentConfig {
|
|||
cert, _, _ := k.GetStringValue("Cert")
|
||||
proxy, _, _ := k.GetStringValue("Proxy")
|
||||
customMeshDir, _, _ := k.GetStringValue("MeshDir")
|
||||
natsProxyPath, _, _ := k.GetStringValue("NatsProxyPath")
|
||||
natsProxyPort, _, _ := k.GetStringValue("NatsProxyPort")
|
||||
|
||||
return &rmm.AgentConfig{
|
||||
BaseURL: baseurl,
|
||||
|
|
@ -72,6 +74,8 @@ func NewAgentConfig() *rmm.AgentConfig {
|
|||
Cert: cert,
|
||||
Proxy: proxy,
|
||||
CustomMeshDir: customMeshDir,
|
||||
NatsProxyPath: natsProxyPath,
|
||||
NatsProxyPort: natsProxyPort,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue