internal/

directory
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0

Directories

Path Synopsis
Package buildinfo reports which build of plugyard is running.
Package buildinfo reports which build of plugyard is running.
Package charger simulates one charger: a single charge point ID with its own connection to the CSMS.
Package charger simulates one charger: a single charge point ID with its own connection to the CSMS.
Package cli defines the plugyard command line.
Package cli defines the plugyard command line.
Package control is the channel between plugyard commands and the process that owns a running site: HTTP with JSON over a Unix domain socket in the data directory (see docs/adr/0004).
Package control is the channel between plugyard commands and the process that owns a running site: HTTP with JSON over a Unix domain socket in the data directory (see docs/adr/0004).
Package csmstest provides a fake CSMS for tests: an in-process WebSocket server that records every message chargers send, answers them, and can send requests of its own.
Package csmstest provides a fake CSMS for tests: an in-process WebSocket server that records every message chargers send, answers them, and can send requests of its own.
Package datadir locates plugyard's per-user data directory, which holds the sockets of running sites, their saved state and their logs.
Package datadir locates plugyard's per-user data directory, which holds the sockets of running sites, their saved state and their logs.
Package ev models the EV on a connector: just enough of a battery to make the energy flow of a transaction look real.
Package ev models the EV on a connector: just enough of a battery to make the energy flow of a transaction look real.
Package logfile writes a site's log to plain files that rotate, so that the log never takes more than a set amount of disk.
Package logfile writes a site's log to plain files that rotate, so that the log never takes more than a set amount of disk.
Package model reads Chargerfiles.
Package model reads Chargerfiles.
Package names makes up names for chargers, in the way Docker names containers: an adjective and a noun, such as brisk_volt.
Package names makes up names for chargers, in the way Docker names containers: an adjective and a noun, such as brisk_volt.
ocpp
ocppj
Package ocppj implements OCPP-J: OCPP messages framed as JSON arrays over a WebSocket connection.
Package ocppj implements OCPP-J: OCPP messages framed as JSON arrays over a WebSocket connection.
v16
Package v16 defines the OCPP 1.6 messages plugyard exchanges with a CSMS.
Package v16 defines the OCPP 1.6 messages plugyard exchanges with a CSMS.
Package scenario reads scenario files.
Package scenario reads scenario files.
Package selfupdate replaces the running plugyard program with the latest release.
Package selfupdate replaces the running plugyard program with the latest release.
Package site holds a running site: a named group of chargers owned by one process.
Package site holds a running site: a named group of chargers owned by one process.
Package sitefile reads site files.
Package sitefile reads site files.
Package store keeps the saved state of sites: one SQLite database per site in the data directory (see docs/adr/0002 and 0003).
Package store keeps the saved state of sites: one SQLite database per site in the data directory (see docs/adr/0002 and 0003).
Package upload sends a file to the place a CSMS names in GetDiagnostics.
Package upload sends a file to the place a CSMS names in GetDiagnostics.

Jump to

Keyboard shortcuts

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