Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecognitionRepository ¶
type RecognitionRepository struct {
// contains filtered or unexported fields
}
RecognitionRepository is responsible for recognitions manipulation.
func (*RecognitionRepository) Create ¶
func (r *RecognitionRepository) Create(ctx context.Context, recognition *store.Recognition) error
Create adds new record to the database.
func (*RecognitionRepository) FindByPlate ¶
func (r *RecognitionRepository) FindByPlate(ctx context.Context, plate string) ([]store.Recognition, error)
FindByPlate returns list of records with specified plate.
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is postgres wrapper for store.Store.
func (*Store) Recognition ¶
func (s *Store) Recognition() store.RecognitionRepository
Recognition is responsible for recognitions manipulation.
Click to show internal directories.
Click to hide internal directories.