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