Documentation
¶
Index ¶
- type Service
- func (i *Service) CreateEntity(entity interfaces.Entity) error
- func (i *Service) CreateInventory(inv interfaces.Inventory) error
- func (i *Service) DeleteEntity(ID string) error
- func (i *Service) DeleteInventory(ID string) error
- func (i *Service) ReadAllEntities() ([]interfaces.Entity, error)
- func (i *Service) ReadAllInventories() ([]interfaces.Inventory, error)
- func (i *Service) ReadEntity(ID string) (interfaces.Entity, error)
- func (i *Service) ReadInventory(ID string) (interfaces.Inventory, error)
- func (i *Service) UpdateEntity(entity interfaces.Entity) error
- func (i *Service) UpdateInventory(inv interfaces.Inventory) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) CreateEntity ¶
func (i *Service) CreateEntity(entity interfaces.Entity) error
func (*Service) CreateInventory ¶
func (i *Service) CreateInventory(inv interfaces.Inventory) error
func (*Service) DeleteEntity ¶
func (*Service) DeleteInventory ¶
func (*Service) ReadAllEntities ¶
func (i *Service) ReadAllEntities() ([]interfaces.Entity, error)
func (*Service) ReadAllInventories ¶
func (i *Service) ReadAllInventories() ([]interfaces.Inventory, error)
func (*Service) ReadEntity ¶
func (i *Service) ReadEntity(ID string) (interfaces.Entity, error)
func (*Service) ReadInventory ¶
func (i *Service) ReadInventory(ID string) (interfaces.Inventory, error)
func (*Service) UpdateEntity ¶
func (i *Service) UpdateEntity(entity interfaces.Entity) error
func (*Service) UpdateInventory ¶
func (i *Service) UpdateInventory(inv interfaces.Inventory) error
Click to show internal directories.
Click to hide internal directories.