service

package
v0.0.0-...-3356bae Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: LGPL-2.1 Imports: 6 Imported by: 0

README

The services hold Application Level Business Login code.

This root relative service folder, is for Business Entity / Model services

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ISvcDrones

type ISvcDrones interface {
	IsPopulateDBSvc() bool
	PopulateDBSvc() *dto.Problem

	GetUserSvc(id string, filter bool) (*dto.User, *dto.Problem)
	GetUsersSvc() (*[]dto.User, *dto.Problem)

	GetADroneSvc(serialNumber string) (*dto.Drone, *dto.Problem)
	GetDronesSvc(filters ...string) (*[]dto.Drone, *dto.Problem)
	RegisterDroneSvc(drone *dto.Drone) *dto.Problem
	ExistDroneSvc(serialNumber string) (bool, *dto.Problem)

	GetMedicationsSvc() (*[]dto.Medication, *dto.Problem)
	CheckingLoadedMedicationsItemsSvc(serialNumberDrone string) (*[]string, *dto.Problem)
	LoadMedicationItemsADroneSvc(serialNumberDrone string, medicationItemIDs []interface{}) *dto.Problem
}

ISvcDrones Drones request service interface

func NewSvcDronesReqs

func NewSvcDronesReqs(reposDrones *db.RepoDrones) ISvcDrones

NewSvcDronesReqs instantiate the Drones request services

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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