handlers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCameraFunc

type CreateCameraFunc func(ctx context.Context, addr string) (*visca.Camera, error)

type Handlers

type Handlers struct {
	CreateCamera   CreateCameraFunc
	EventPublisher viscaservice.EventPublisher
	Resolver       *net.Resolver
}

func (*Handlers) MemoryRecall

func (h *Handlers) MemoryRecall(c echo.Context) error

func (*Handlers) PanLeft

func (h *Handlers) PanLeft(c echo.Context) error

func (*Handlers) PanRight

func (h *Handlers) PanRight(c echo.Context) error

func (*Handlers) PanTiltStop

func (h *Handlers) PanTiltStop(c echo.Context) error

func (*Handlers) TiltDown

func (h *Handlers) TiltDown(c echo.Context) error

func (*Handlers) TiltUp

func (h *Handlers) TiltUp(c echo.Context) error

func (*Handlers) ZoomIn

func (h *Handlers) ZoomIn(c echo.Context) error

func (*Handlers) ZoomOut

func (h *Handlers) ZoomOut(c echo.Context) error

func (*Handlers) ZoomStop

func (h *Handlers) ZoomStop(c echo.Context) error

Jump to

Keyboard shortcuts

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