Documentation ¶
Index ¶
- func GetCPUUsage(ctx context.Context, c dahuarpc.Conn) (int, error)
- func GetDeviceClass(ctx context.Context, c dahuarpc.Conn) (string, error)
- func GetDeviceType(ctx context.Context, c dahuarpc.Conn) (string, error)
- func GetHardwareVersion(ctx context.Context, c dahuarpc.Conn) (string, error)
- func GetMachineName(ctx context.Context, c dahuarpc.Conn) (string, error)
- func GetMarketArea(ctx context.Context, c dahuarpc.Conn) (string, error)
- func GetProcessInfo(ctx context.Context, c dahuarpc.Conn) (string, error)
- func GetSerialNo(ctx context.Context, c dahuarpc.Conn) (string, error)
- func GetVendor(ctx context.Context, c dahuarpc.Conn) (string, error)
- func ListMethod(ctx context.Context, c dahuarpc.Conn) ([]string, error)
- func NeedReboot(ctx context.Context, c dahuarpc.Conn) (int, error)
- func Reboot(ctx context.Context, c dahuarpc.Conn) (bool, error)
- type MemoryInfo
- type SoftwareVersion
- type UpTime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHardwareVersion ¶
Types ¶
type MemoryInfo ¶
type MemoryInfo struct { Free dahuarpc.Integer `json:"free"` Total dahuarpc.Integer `json:"total"` }
func GetMemoryInfo ¶
type SoftwareVersion ¶
type SoftwareVersion struct { Build string `json:"Build"` BuildDate string `json:"BuildDate"` SecurityBaseLineVersion string `json:"SecurityBaseLineVersion"` Version string `json:"Version"` WebVersion string `json:"WebVersion"` }
func GetSoftwareVersion ¶
Click to show internal directories.
Click to hide internal directories.