4
0

version.go 373 B

1234567891011121314151617
  1. package authority
  2. // GlobalVersion stores the version information of the server.
  3. var GlobalVersion = Version{
  4. Version: "0.0.0",
  5. }
  6. // Version defines the
  7. type Version struct {
  8. Version string
  9. RequireClientAuthentication bool
  10. }
  11. // Version returns the version information of the server.
  12. func (a *Authority) Version() Version {
  13. return GlobalVersion
  14. }