Versions in this module Expand all Collapse all v1 v1.4.3 Nov 4, 2024 v1.4.2 Nov 4, 2024 v1.4.1 Nov 4, 2024 Changes in this version + const ACTIONCB_URL + const BASE_OAUTH_URL + const BASE_URL_FEED + const BASE_URL_OCPC + const BASE_URL_SMS + const PlatformID + type ActionCbRequest interface + type ActionCbResponse struct + ErrorCode int + ErrorMsg string + func (r ActionCbResponse) Error() string + func (r ActionCbResponse) IsError() bool + type Bool bool + func (b Bool) String() string + func (b Bool) Value() bool + func (bl *Bool) UnmarshalJSON(b []byte) (err error) + type ConversionRequest interface + OcpcToken func() string + SetOcpcToken func(token string) + type DataResponse struct + Code int + Data json.RawMessage + Message string + func (r DataResponse) Error() string + func (r DataResponse) IsError() bool + type Float64 float64 + func (f64 *Float64) UnmarshalJSON(b []byte) (err error) + func (f64 Float64) String(prec int) string + func (f64 Float64) Value() float64 + type Int int + func (i *Int) UnmarshalJSON(b []byte) (err error) + func (i Int) String() string + func (i Int) Value() int + type Int64 int64 + func (i64 *Int64) UnmarshalJSON(b []byte) (err error) + func (i64 Int64) String() string + func (i64 Int64) Value() int64 + type JSONInt int + func JSONIntFromInt(v int) JSONInt + func (i *JSONInt) UnmarshalJSON(b []byte) (err error) + func (i JSONInt) MarshalJSON() ([]byte, error) + func (i JSONInt) Value() int + type JSONInt64 int64 + func JSONInt64FromInt64(v int64) JSONInt64 + func (i64 *JSONInt64) UnmarshalJSON(b []byte) (err error) + func (i64 JSONInt64) MarshalJSON() ([]byte, error) + func (i64 JSONInt64) Value() int64 + type JSONUint64 uint64 + func JSONUint64FromUint64(v uint64) JSONUint64 + func (u64 *JSONUint64) UnmarshalJSON(b []byte) (err error) + func (u64 JSONUint64) MarshalJSON() ([]byte, error) + func (u64 JSONUint64) Value() uint64 + type OfflineReason struct + DetailReason string + MainReason string + type OfflineTime struct + Flag int + Time string + type RegionPriceFactor struct + PriceFactor float64 + RegionId int64 + type Request struct + Body RequestBody + Header *RequestHeader + func (r *Request) SetUser(username string, accessToken string) + func (r Request) Url() string + type RequestBody interface + Url func() string + type RequestHeader struct + AccessToken string + Username string + type Response struct + Body json.RawMessage + Header ResponseHeader + func (r Response) Error() string + func (r Response) IsError() bool + type ResponseFailure struct + Code int + Message string + Position string + type ResponseHeader struct + Desc string + Errors []ResponseFailure + Failures []ResponseFailure + Oprs int + Oprtime int64 + Quota int + Rquota int64 + Status int + type Schedule struct + EndHour int + StartHour int + WeekDay int + type SchedulePriceFactor struct + PriceFactor float64 + TimeId int + type StorePageInfo struct + MonitorCode string + PageId uint64 + PageType int + StoreId uint64 + Url string + type Uint64 uint64 + func (u64 *Uint64) UnmarshalJSON(b []byte) (err error) + func (u64 Uint64) String() string + func (u64 Uint64) Value() uint64