Welcome to mirror list, hosted at ThFree Co, Russian Federation.

server.go « health « service « internal - gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bc7d127ffe31aacf70cbe8bed132f82075776fdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package health

import (
	"gitlab.com/gitlab-org/gitaly/internal/middleware/errorhandler"
	"gitlab.com/gitlab-org/gitaly/proto/go/gitalypb"
)

type server struct {
	errorTracker *errorhandler.Errors
}

// NewServer creates a new instance of a gRPC namespace server
func NewServer(errorTracker *errorhandler.Errors) gitalypb.HealthServer {
	return &server{errorTracker: errorTracker}
}