Documentation
¶
Overview ¶
Package devicetype present full API functionality of the specific object
Package devicetype present full API functionality of the specific object
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface {
Get(ctx context.Context, id uint64) (*models.DeviceType, error)
GetByCodename(ctx context.Context, codename string) (*models.DeviceType, error)
FetchList(ctx context.Context) ([]*models.DeviceType, error)
FetchListByIDs(ctx context.Context, ids []uint64) ([]*models.DeviceType, error)
Count(ctx context.Context) (int64, error)
}
Repository of access to the devicetype
type Usecase ¶
type Usecase interface {
Get(ctx context.Context, id uint64) (*models.DeviceType, error)
GetByCodename(ctx context.Context, codename string) (*models.DeviceType, error)
FetchList(ctx context.Context) ([]*models.DeviceType, error)
FetchListByIDs(ctx context.Context, ids []uint64) ([]*models.DeviceType, error)
Count(ctx context.Context) (int64, error)
}
usecase of access to the devicetype
Click to show internal directories.
Click to hide internal directories.