blob: f99ca64b610cf144ed39f7c25919a6118e97d178 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package wiki
import (
"gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver"
"gitlab.com/gitlab-org/gitaly/v14/internal/storage"
"gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb"
)
type server struct {
ruby *rubyserver.Server
locator storage.Locator
}
// NewServer creates a new instance of a grpc WikiServiceServer
func NewServer(rs *rubyserver.Server, locator storage.Locator) gitalypb.WikiServiceServer {
return &server{ruby: rs, locator: locator}
}
|