Rethink how metricator will work, golangci-lint and gitlab ci configs.
This commit is contained in:
@@ -40,6 +40,8 @@ func (h *HTTPServer) getRequestContext(_ net.Listener) context.Context {
|
||||
// Initializes handler and HTTP server structure.
|
||||
func (h *HTTPServer) initialize() {
|
||||
h.handler = &handler{}
|
||||
// We do not need to specify all possible parameters for HTTP server, so:
|
||||
// nolint:exaustivestruct
|
||||
h.server = &http.Server{
|
||||
// ToDo: make it all configurable.
|
||||
Addr: ":34421",
|
||||
|
Reference in New Issue
Block a user