Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CurrentData ¶
func (c *Client) CurrentData(inverterSN string) (CurrentData, error)
type CurrentData ¶
type CurrentData struct { Code any `json:"code"` Msg any `json:"msg"` Success bool `json:"success"` RequestID string `json:"requestId"` DeviceSn string `json:"deviceSn"` DeviceID int `json:"deviceId"` DeviceType string `json:"deviceType"` DeviceState int `json:"deviceState"` CollectionTime int `json:"collectionTime"` DataList []DataList `json:"dataList"` }
Click to show internal directories.
Click to hide internal directories.