File: version.go

package info (click to toggle)
golang-github-smallstep-certificates 0.29.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,720 kB
  • sloc: sh: 385; makefile: 129
file content (17 lines) | stat: -rw-r--r-- 373 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
}