aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBob Long <robertjflong@gmail.com>2017-10-17 14:00:37 +0100
committerNiall Sheridan <nsheridan@gmail.com>2017-10-17 14:00:37 +0100
commit7c99874c7a3e7a89716f3ee0cdf696532e35ae35 (patch)
treec8c47bfb40e6981f4d9f81175512e49703eb985f /lib
parent40c0070d77033c5bc4ab5816e5ffb21517e7603d (diff)
Support a message to be passed and logged from client to server (#67)
* Support a message to be passed and logged from client to server
Diffstat (limited to 'lib')
-rw-r--r--lib/proto.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/proto.go b/lib/proto.go
index f3d7115..a67ad47 100644
--- a/lib/proto.go
+++ b/lib/proto.go
@@ -6,6 +6,7 @@ import "time"
type SignRequest struct {
Key string `json:"key"`
ValidUntil time.Time `json:"valid_until"`
+ Message string `json:"message"`
}
// SignResponse is sent by the server.