Lines Matching defs:service
38 type service struct { struct
39 store content.Store
54 func (s *service) Register(server *grpc.Server) error {
59 func (s *service) Info(ctx context.Context, req *api.InfoRequest) (*api.InfoResponse, error) {
74 func (s *service) Update(ctx context.Context, req *api.UpdateRequest) (*api.UpdateResponse, error) {
89 func (s *service) List(req *api.ListContentRequest, session api.Content_ListServer) error {
131 …nc (s *service) Delete(ctx context.Context, req *api.DeleteContentRequest) (*ptypes.Empty, error) {
144 func (s *service) Read(req *api.ReadContentRequest, session api.Content_ReadServer) error {
211 func (s *service) Status(ctx context.Context, req *api.StatusRequest) (*api.StatusResponse, error) {
230 …istStatuses(ctx context.Context, req *api.ListStatusesRequest) (*api.ListStatusesResponse, error) {
251 func (s *service) Write(session api.Content_WriteServer) (err error) {
437 func (s *service) Abort(ctx context.Context, req *api.AbortRequest) (*ptypes.Empty, error) {