From 03bb26fb91d99cdb0922917ec6ab6b7e2c8e1e35 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Wed, 20 Nov 2019 17:02:06 -0800 Subject: [PATCH] Add missing version.go file. --- authority/version.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 authority/version.go diff --git a/authority/version.go b/authority/version.go new file mode 100644 index 00000000..41e1be80 --- /dev/null +++ b/authority/version.go @@ -0,0 +1,17 @@ +package authority + +// GlobalVersion stores the version information of the server. +var GlobalVersion = Version{ + Version: "0.0.0", +} + +// Version defines the +type Version struct { + Version string + RequireClientAuthentication bool +} + +// Version returns the version information of the server. +func (a *Authority) Version() Version { + return GlobalVersion +}