From 9e9a7d50970f1424245d88169de82988fd57e112 Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Thu, 5 Jan 2017 23:28:26 +0000 Subject: Move GetPublicKey to the shared `lib` package --- lib/const.go | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 lib/const.go (limited to 'lib/const.go') diff --git a/lib/const.go b/lib/const.go deleted file mode 100644 index 1ba2749..0000000 --- a/lib/const.go +++ /dev/null @@ -1,17 +0,0 @@ -package lib - -import "time" - -// SignRequest represents a signing request sent to the server. -type SignRequest struct { - Key string `json:"key"` - ValidUntil time.Time `json:"valid_until"` -} - -// SignResponse is sent by the server. -// `Status' is "ok" or "error". -// `Response' contains a signed certificate or an error message. -type SignResponse struct { - Status string `json:"status"` - Response string `json:"response"` -} -- cgit v1.2.3