camera

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Camera

type Camera struct {
	utils.CardInfo
}

Camera store camera device info

func (*Camera) Equal

func (c *Camera) Equal(tmp *Camera) bool

Equal check device whether equal by vendor and product

type CameraList

type CameraList []*Camera

CameraList store camera device list

func GetCameraList

func GetCameraList() (CameraList, error)

GetCameraList return camera device list

func (CameraList) Append

func (list CameraList) Append(card *Camera) CameraList

Append append camera device after filter duplication device In X230 has two same camera device

Jump to

Keyboard shortcuts

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