camera

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cam

type Cam interface {
	// SetPreset moves the camera to the preset identified by preset.
	SetPreset(presetId int) error
	// TakeSnapshot creates a snapshot and returns the filename of it.
	TakeSnapshot(outDir string) (filename string, err error)
	// GetPresets fetches all available presets
	GetPresets() ([]model.CameraPreset, error)
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(auths map[model.CameraType]string) *Service

func (*Service) For

func (s *Service) For(addr string, cameraType model.CameraType) (Cam, error)

Directories

Path Synopsis
Package mock_camera is a generated GoMock package.
Package mock_camera is a generated GoMock package.

Jump to

Keyboard shortcuts

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