mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-06 15:22:47 +01:00
12 lines
218 B
Go
12 lines
218 B
Go
package service
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/SecurityBrewery/catalyst/generated/restapi/api"
|
|
)
|
|
|
|
func (s *Service) GetStatistics(ctx context.Context) *api.Response {
|
|
return response(s.database.Statistics(ctx))
|
|
}
|