Merge pull request #2559 from crosbymichael/exp-content

Export content service New
This commit is contained in:
Akihiro Suda 2018-08-22 23:52:56 +09:00 committed by GitHub
commit 1a96db4a2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,13 +70,13 @@ func init() {
if err != nil {
return nil, err
}
return newService(cs.(content.Store)), nil
return NewService(cs.(content.Store)), nil
},
})
}
// newService returns the content GRPC server
func newService(cs content.Store) api.ContentServer {
// NewService returns the content GRPC server
func NewService(cs content.Store) api.ContentServer {
return &service{store: cs}
}