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

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

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

type server struct {
	locator storage.Locator
}

// NewServer creates a new instance of a grpc CleanupServer
func NewServer(locator storage.Locator) gitalypb.CleanupServiceServer {
	return &server{locator: locator}
}