MCPcopy Create free account
hub / github.com/jetkvm/kvm / DCPowerState

Struct DCPowerState

jsonrpc.go:800–806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

798}
799
800type DCPowerState struct {
801 IsOn bool `json:"isOn"`
802 Voltage float64 `json:"voltage"`
803 Current float64 `json:"current"`
804 Power float64 `json:"power"`
805 RestoreState int `json:"restoreState"`
806}
807
808func rpcGetDCPowerState() (DCPowerState, error) {
809 return getDCState(), nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected