devicetype

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

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

Directories

Path Synopsis
delivery

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL