peripheralchip

package
v0.0.0-...-72e33f6 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cap

type Cap struct {
	ChipType string `json:"string"`
	Count    int    `json:"number"`
	Model    string `json:"model"`
	Type     Type   `json:"type"`
}

func GetCaps

func GetCaps(ctx context.Context, c dahuarpc.Conn) ([]Cap, error)

type Type

type Type string
var (
	TypeBLOB Type = "BLOB"
)

type Version

type Version struct {
	HardwareVersion string `json:"hardwareVersion"`
	IsMatching      int    `json:"isMatching"`
	SoftwareVersion string `json:"softwareVersion"`
}

func GetVersion

func GetVersion(ctx context.Context, c dahuarpc.Conn, typ Type) ([]Version, error)

Jump to

Keyboard shortcuts

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