Export content service New
Closes #2441 Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
3f42445e38
commit
e5115c3919
@ -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