util

package
v1.0.0-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClient

func CreateClient(basicAuthUser, basicAuthPass string, tlsConfig settings.TLS) *ws.Client

CreateClient creates a Websocket client based on the settings.

func CreateConnectionUrl

func CreateConnectionUrl(point settings.ChargePoint) string

CreateConnectionUrl creates a connection url from the provided settings

func SetProfilesFromConfig

func SetProfilesFromConfig(
	chargePoint ocpp16.ChargePoint,
	coreHandler core.ChargePointHandler,
	reservationHandler reservation.ChargePointHandler,
	triggerHandler remotetrigger.ChargePointHandler,
)

SetProfilesFromConfig based on the provided OCPP configuration, set the profiles

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL