Export content service New

Closes #2441

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2018-08-21 15:38:51 -04:00
parent 3f42445e38
commit e5115c3919

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}
}