File: version.go

package info (click to toggle)
golang-github-smallstep-certificates 0.20.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,144 kB
  • sloc: sh: 278; makefile: 170
file content (17 lines) | stat: -rw-r--r-- 373 bytes parent folder | download | duplicates (2)
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
}