Documentation ¶
Index ¶
- type LocationService
- type Service
- func (s *Service) Retrieve(ctx context.Context, pm callhome.PageMetadata, ...) (callhome.TelemetryPage, error)
- func (*Service) RetrieveSummary(ctx context.Context, filters callhome.TelemetryFilters) (callhome.TelemetrySummary, error)
- func (s *Service) Save(ctx context.Context, t callhome.Telemetry) error
- func (*Service) ServeUI(ctx context.Context, filters callhome.TelemetryFilters) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocationService ¶
func NewLocationService ¶
func NewLocationService(t mockConstructorTestingTNewLocationService) *LocationService
func (*LocationService) GetLocation ¶
func (_m *LocationService) GetLocation(ctx context.Context, ip string) (ip2location.IP2Locationrecord, error)
type Service ¶
func NewService ¶
func NewService(t mockConstructorTestingTNewService) *Service
func (*Service) Retrieve ¶
func (s *Service) Retrieve(ctx context.Context, pm callhome.PageMetadata, filters callhome.TelemetryFilters) (callhome.TelemetryPage, error)
func (*Service) RetrieveSummary ¶
func (*Service) RetrieveSummary(ctx context.Context, filters callhome.TelemetryFilters) (callhome.TelemetrySummary, error)
Click to show internal directories.
Click to hide internal directories.