Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTypesToSample ¶
GetTypesToSample get the measurands to sample from the OCPP configuration.
func HandleRequestErr ¶
func IsNilInterfaceOrPointer ¶
func IsNilInterfaceOrPointer(sth interface{}) bool
IsNilInterfaceOrPointer check if the variable is nil or if the pointer's value is nil.
func SendRequest ¶
func SendRequest(chargePoint ocpp16.ChargePoint, request ocpp.Request, callback func(confirmation ocpp.Response, protoError error)) error
SendRequest is a middleware function that implements a retry mechanism for sending requests. If the max attempts is reached, return an error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.