diff options
Diffstat (limited to 'lib/proto.go')
-rw-r--r-- | lib/proto.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/proto.go b/lib/proto.go index a67ad47..5d8c67a 100644 --- a/lib/proto.go +++ b/lib/proto.go @@ -7,10 +7,12 @@ type SignRequest struct { Key string `json:"key"` ValidUntil time.Time `json:"valid_until"` Message string `json:"message"` + Version string `json:"version"` } // SignResponse is sent by the server. type SignResponse struct { Status string `json:"status"` // Status will be "ok" or "error". Response string `json:"response"` // Response will contain either the signed certificate or the error message. + Version string `json:"version"` } |