storage

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	Name   string          `json:"Name"`
	State  string          `json:"State"`
	Detail []StorageDetail `json:"Detail"`
}

func GetDeviceAllInfo

func GetDeviceAllInfo(ctx context.Context, c dahuarpc.Conn) ([]Storage, error)

type StorageDetail

type StorageDetail struct {
	Path       string           `json:"Path"`
	Type       string           `json:"Type"`
	TotalBytes dahuarpc.Integer `json:"TotalBytes"`
	UsedBytes  dahuarpc.Integer `json:"UsedBytes"`
	IsError    bool             `json:"IsError"`
}

Jump to

Keyboard shortcuts

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