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

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

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

type server struct {
	ruby *rubyserver.Server
	gitalypb.UnimplementedRemoteServiceServer
}

// NewServer creates a new instance of a grpc RemoteServiceServer
func NewServer(rs *rubyserver.Server) gitalypb.RemoteServiceServer {
	return &server{ruby: rs}
}