Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CameraService ¶
type CameraService struct {
// contains filtered or unexported fields
}
CameraService provides the domains' use cases.
func NewCameraService ¶
func NewCameraService(repo StillCameraRepository) *CameraService
func (*CameraService) CapturePhoto ¶
func (s *CameraService) CapturePhoto(settings Settings) (Image, error)
func (*CameraService) ListCameras ¶
func (s *CameraService) ListCameras() ([]StillCamera, error)
type StillCamera ¶
type StillCamera = v1.StillCamera
type StillCameraRepository ¶
type StillCameraRepository interface { FindAllStillCameras() ([]StillCamera, error) CapturePhoto(settings Settings, dst []byte) ([]byte, error) }
StillCameraRepository is part of the domain core. Must not be used by presentation layers.
Click to show internal directories.
Click to hide internal directories.