1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2024-12-15 17:51:15 +00:00
ctrl/tui_msg.go

21 lines
1.4 KiB
Go
Raw Normal View History

2022-01-10 12:21:30 +00:00
package steward
type tuiMessage struct {
ToNode *Node `json:"toNode,omitempty" yaml:"toNode,omitempty"`
ToNodes *[]Node `json:"toNodes,omitempty" yaml:"toNodes,omitempty"`
Method *Method `json:"method,omitempty" yaml:"method,omitempty"`
MethodArgs *[]string `json:"methodArgs,omitempty" yaml:"methodArgs,omitempty"`
ReplyMethod *Method `json:"replyMethod,omitempty" yaml:"replyMethod,omitempty"`
ReplyMethodArgs *[]string `json:"replyMethodArgs,omitempty" yaml:"replyMethodArgs,omitempty"`
ACKTimeout *int `json:"ACKTimeout,omitempty" yaml:"ACKTimeout,omitempty"`
Retries *int `json:"retries,omitempty" yaml:"retries,omitempty"`
ReplyACKTimeout *int `json:"replyACKTimeout,omitempty" yaml:"replyACKTimeout,omitempty"`
ReplyRetries *int `json:"replyRetries,omitempty" yaml:"replyRetries,omitempty"`
MethodTimeout *int `json:"methodTimeout,omitempty" yaml:"methodTimeout,omitempty"`
ReplyMethodTimeout *int `json:"replyMethodTimeout,omitempty" yaml:"replyMethodTimeout,omitempty"`
Directory *string `json:"directory,omitempty" yaml:"directory,omitempty"`
FileName *string `json:"fileName,omitempty" yaml:"fileName,omitempty"`
RelayViaNode *Node `json:"relayViaNode,omitempty" yaml:"relayViaNode,omitempty"`
RelayReplyMethod *Method `json:"relayReplyMethod,omitempty" yaml:"relayReplyMethod,omitempty"`
}