MCPcopy Create free account
hub / github.com/evcc-io/evcc / pushEvent

Method pushEvent

core/loadpoint.go:472–474  ·  view source on GitHub ↗

pushEvent sends push messages to clients

(event string)

Source from the content-addressed store, hash-verified

470
471// pushEvent sends push messages to clients
472func (lp *Loadpoint) pushEvent(event string) {
473 lp.pushChan <- messenger.Event{Event: event}
474}
475
476// maybePushVehicleConnect sends a deferred connect notification once vehicle
477// detection has settled

Callers 8

evChargeStartHandlerMethod · 0.95
evChargeStopHandlerMethod · 0.95
updateChargerStatusMethod · 0.95
UpdateMethod · 0.95
vehicleUnidentifiedMethod · 0.95
plannerActiveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected