Skip to content

Commit

Permalink
updated server version
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmittag committed Nov 9, 2022
1 parent a75c9e8 commit ec644a5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ import (
"time"
)

//Version is the server version
// Version is the server version
const Server string = "Server"

var Version string = "v0.9.6"
var Version string = "v0.9.7"

//ID is a unique server ID
// ID is a unique server ID
var ID string = "unknown"

//Runtime struct defines runtime environment wrapper for a config.
// Runtime struct defines runtime environment wrapper for a config.
type Runtime struct {
Config
Start time.Time
Expand Down Expand Up @@ -137,7 +137,7 @@ func (cw *ConnectionWatcher) UpdateMaxUp(c uint64) {
}
}

//Runner is the Live environment of the server
// Runner is the Live environment of the server
var Runner *Runtime

var Boot sync.WaitGroup = sync.WaitGroup{}
Expand Down Expand Up @@ -169,7 +169,7 @@ func (zla *zerologAdapter) Write(p []byte) (n int, err error) {
return len(p), nil
}

//BootStrap starts up the server from a ServerConfig
// BootStrap starts up the server from a ServerConfig
func BootStrap() {
initLogger()

Expand Down Expand Up @@ -285,7 +285,7 @@ func (rt *Runtime) startListening() {

type HandlerDelegate struct{}

//TODO regex and perftest this function.
// TODO regex and perftest this function.
var acmeRex, _ = regexp.Compile("/.well-known/acme-challenge/")
var aboutRex, _ = regexp.Compile("^" + aboutPath + "$")

Expand Down

0 comments on commit ec644a5

Please sign in to comment.