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

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

import pb "gitlab.com/gitlab-org/gitaly-proto/go"

const msgSizeThreshold = 8 * 1024

type server struct {
	MsgSizeThreshold int
}

// NewServer creates a new instance of a grpc BlobServer
func NewServer() pb.BlobServer {
	return &server{MsgSizeThreshold: msgSizeThreshold}
}