mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-14 12:37:31 +00:00
Added ArgSignature to Message
This commit is contained in:
parent
1fa45b1293
commit
7b230f1fc6
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ type Message struct {
|
||||||
// method. Can be f.ex. an ip address if it is a tcp sender, or the
|
// method. Can be f.ex. an ip address if it is a tcp sender, or the
|
||||||
// shell command to execute in a cli session.
|
// shell command to execute in a cli session.
|
||||||
MethodArgs []string `json:"methodArgs" yaml:"methodArgs"`
|
MethodArgs []string `json:"methodArgs" yaml:"methodArgs"`
|
||||||
|
// ArgSignature is the ed25519 signature of the methodArgs.
|
||||||
|
ArgSignature []byte `json:"argSignature" yaml:"argSignature"`
|
||||||
// ReplyMethod, is the method to use for the reply message.
|
// ReplyMethod, is the method to use for the reply message.
|
||||||
// By default the reply method will be set to log to file, but
|
// By default the reply method will be set to log to file, but
|
||||||
// you can override it setting your own here.
|
// you can override it setting your own here.
|
||||||
|
|
Loading…
Reference in a new issue