stash/internal/api/resolver_query_metadata.go

12 lines
229 B
Go
Raw Normal View History

2019-02-09 12:30:49 +00:00
package api
import (
"context"
2019-10-12 08:20:27 +00:00
"github.com/stashapp/stash/internal/manager"
2019-02-09 12:30:49 +00:00
)
func (r *queryResolver) SystemStatus(ctx context.Context) (*manager.SystemStatus, error) {
return manager.GetInstance().GetSystemStatus(), nil
}