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

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

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

type server struct {
	storages []config.Storage
}

func NewServer(storages []config.Storage) gitalypb.InternalGitalyServer {
	return &server{storages: storages}
}