Merge pull request #2559 from crosbymichael/exp-content
Export content service New
This commit is contained in:
commit
1a96db4a2c
@ -70,13 +70,13 @@ func init() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return newService(cs.(content.Store)), nil
|
return NewService(cs.(content.Store)), nil
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// newService returns the content GRPC server
|
// NewService returns the content GRPC server
|
||||||
func newService(cs content.Store) api.ContentServer {
|
func NewService(cs content.Store) api.ContentServer {
|
||||||
return &service{store: cs}
|
return &service{store: cs}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user