1
0
Fork 0
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:
postmannen 2022-01-31 10:06:14 +01:00
parent 1fa45b1293
commit 7b230f1fc6

View file

@ -28,6 +28,8 @@ type Message struct {
// method. Can be f.ex. an ip address if it is a tcp sender, or the
// shell command to execute in a cli session.
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.
// By default the reply method will be set to log to file, but
// you can override it setting your own here.