You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
373 B
Go
18 lines
373 B
Go
5 years ago
|
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
|
||
|
}
|