feat: add resource service

This commit is contained in:
Steven
2023-08-15 00:02:40 +08:00
parent 96ab5b226d
commit b9e5e7f2af
5 changed files with 66 additions and 2 deletions

View File

@@ -76,6 +76,10 @@ func NewServer(ctx context.Context, profile *profile.Profile, store *store.Store
return nil, fmt.Errorf("failed to register gRPC gateway: %w", err)
}
// Register resource service.
resourceService := NewResourceService(profile, store)
resourceService.Register(rootGroup)
return s, nil
}