add optional config setting to use nats standard tcp instead of websockets
This commit is contained in:
parent
38907f6bc2
commit
92dd7c110f
4 changed files with 44 additions and 34 deletions
|
|
@ -33,17 +33,18 @@ type ProcessMsg struct {
|
|||
}
|
||||
|
||||
type AgentConfig struct {
|
||||
BaseURL string
|
||||
AgentID string
|
||||
APIURL string
|
||||
Token string
|
||||
AgentPK string
|
||||
PK int
|
||||
Cert string
|
||||
Proxy string
|
||||
CustomMeshDir string
|
||||
NatsProxyPath string
|
||||
NatsProxyPort string
|
||||
BaseURL string
|
||||
AgentID string
|
||||
APIURL string
|
||||
Token string
|
||||
AgentPK string
|
||||
PK int
|
||||
Cert string
|
||||
Proxy string
|
||||
CustomMeshDir string
|
||||
NatsProxyPath string
|
||||
NatsProxyPort string
|
||||
NatsStandardPort string
|
||||
}
|
||||
|
||||
type RunScriptResp struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue