Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAO ¶
type DAO interface { // Create a registry Create(ctx context.Context, registry *models.Registry) (uint, error) // UpdateByID update a registry UpdateByID(ctx context.Context, id uint, registry *models.Registry) error // DeleteByID delete a registry by id DeleteByID(ctx context.Context, id uint) error // GetByID get by id GetByID(ctx context.Context, id uint) (*models.Registry, error) // ListAll list all registries ListAll(ctx context.Context) ([]*models.Registry, error) }
Click to show internal directories.
Click to hide internal directories.