Versions in this module Expand all Collapse all v1 v1.4.3 Sep 11, 2022 v1.4.2 Sep 11, 2022 Changes in this version + const Disabled + const Url + type EndPoint struct + Request Request + Response Response + func Assert(e api.EndPoint) EndPoint + func Init(apiRoot api.Web) EndPoint + func (e EndPoint) CacheFilename() string + func (e EndPoint) Call() api.EndPoint + func (e EndPoint) GetArea() api.AreaName + func (e EndPoint) GetCacheTimeout() time.Duration + func (e EndPoint) GetError() error + func (e EndPoint) GetJsonData(raw bool) output.Json + func (e EndPoint) GetName() api.EndPointName + func (e EndPoint) GetRequest() Request + func (e EndPoint) GetRequestJson() output.Json + func (e EndPoint) GetResponse() Response + func (e EndPoint) GetResponseJson() output.Json + func (e EndPoint) GetUrl() api.EndPointUrl + func (e EndPoint) Help() string + func (e EndPoint) Init(apiRoot api.Web) *EndPoint + func (e EndPoint) IsDisabled() bool + func (e EndPoint) IsError() bool + func (e EndPoint) IsRequestValid() error + func (e EndPoint) IsResponseValid() error + func (e EndPoint) MarshalJSON() ([]byte, error) + func (e EndPoint) ReadDataFile() error + func (e EndPoint) RequestFingerprint() string + func (e EndPoint) RequestRef() interface{} + func (e EndPoint) RequestString() string + func (e EndPoint) ResponseRef() interface{} + func (e EndPoint) ResponseString() string + func (e EndPoint) SetCacheTimeout(duration time.Duration) api.EndPoint + func (e EndPoint) SetError(format string, a ...interface{}) api.EndPoint + func (e EndPoint) SetRequest(ref interface{}) api.EndPoint + func (e EndPoint) SetRequestByJson(j output.Json) api.EndPoint + func (e EndPoint) SetResponse(ref []byte) api.EndPoint + func (e EndPoint) String() string + func (e EndPoint) WriteDataFile() error + type Request struct + type RequestData struct + func (rd RequestData) Help() string + func (rd RequestData) IsValid() error + type Response struct + ResultData ResultData + type ResultData struct + ActualEnergy []string + ActualEnergyUnit string + ChargeTotalEnergy string + ChargeTotalEnergyUnit string + DisChargeTotalEnergy string + DisChargeTotalEnergyUnit string + MonthEnergy api.UnitValue + OrgName string + P83024 float64 + PercentPlanMonth string + PercentPlanYear string + PlanEnergy []string + PlanEnergyUnit string + PsCount int64 + TodayEnergy api.UnitValue + TotalCapcity api.UnitValue + TotalDesignCapacity api.UnitValue + TotalEnergy api.UnitValue + YearEnergy api.UnitValue + func AssertResultData(e api.EndPoint) ResultData + func (e *ResultData) IsValid() error