mirror of
https://github.com/smallstep/certificates.git
synced 2024-10-31 03:20:16 +00:00
Add missing version.go file.
This commit is contained in:
parent
c60641701b
commit
03bb26fb91
17
authority/version.go
Normal file
17
authority/version.go
Normal file
@ -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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user