chore: add feature matrix

This commit is contained in:
Steven
2023-09-22 08:15:18 +08:00
parent 92fba82927
commit d0a25e3ab2
5 changed files with 53 additions and 12 deletions

View File

@@ -112,7 +112,11 @@ func NewServer(ctx context.Context, profile *profile.Profile, store *store.Store
return s, nil
}
func (s *Server) Start(_ context.Context) error {
func (s *Server) Start(ctx context.Context) error {
// Load subscription.
if _, err := s.licenseService.LoadSubscription(ctx); err != nil {
println("failed to load subscription", err)
}
// Start gRPC server.
listen, err := net.Listen("tcp", fmt.Sprintf(":%d", s.Profile.Port+1))
if err != nil {