diff --git a/hello/hello.go b/hello/hello.go index 7c9149cd..95d9d061 100644 --- a/hello/hello.go +++ b/hello/hello.go @@ -43,7 +43,7 @@ const indexTemplate = ` @@ -91,7 +91,6 @@ const indexTemplate = ` ` - func StartHelloWorldServer(logger *logrus.Logger, listener net.Listener, shutdownC <-chan struct{}) error { logger.Infof("Starting Hello World server at %s", listener.Addr()) serverName := defaultServerName @@ -132,7 +131,6 @@ func CreateTLSListener(address string) (net.Listener, error) { return listener, err } - func uptimeHandler(startTime time.Time) http.HandlerFunc { return func(w http.ResponseWriter, r *http.Request) { // Note that if autoupdate is enabled, the uptime is reset when a new client