Georg Hopp 8 years ago
parent
commit
998f3a2324
Signed by: ghopp GPG Key ID: 4C5D226768784538
  1. 7
      server.go

7
server.go

@ -26,7 +26,6 @@ package test
import ( import (
"context" "context"
"encoding/json"
"io" "io"
"net/http" "net/http"
"strings" "strings"
@ -39,12 +38,6 @@ type ApiHandler struct {
log *logger.Logger log *logger.Logger
} }
type version struct {
Version string `json:"Version"`
BuildCommit string `json:"BuildCommint"`
BuildTime string `json:"BuildTimestamp"`
}
type Server struct { type Server struct {
server *http.Server server *http.Server
mux *http.ServeMux mux *http.ServeMux

Loading…
Cancel
Save