Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrPersonDataNotFound ¶
type ErrPersonDataNotFound interface {
Error() string
ImplementsPersonDataNotFoundError()
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Start ¶
func (s *Service) Start(storage Storage, stats StatisticsProvider)
type StatisticsProvider ¶
type Storage ¶
type Storage interface {
CreateNewPersonDataV1(ctx context.Context, data *models.EnrichedPersonDataV1) error
SearchResultV1(ctx context.Context, filters *models.SearchFilters) (result *models.SearchResultV1, err error)
EnrichedPersonDataV1(ctx context.Context, id int64) (*models.EnrichedPersonDataV1, error)
UpdatePersonDataV1(ctx context.Context, id int64, data *models.EditedPersonDataV1) error
DeletePersonData(ctx context.Context, id int64) error
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.