Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
corec
command
|
|
|
common
|
|
|
metrics
Package metrics provides lightweight metric collection primitives.
|
Package metrics provides lightweight metric collection primitives. |
|
trace
Package trace provides lightweight distributed tracing via context-propagated trace IDs and span tracking.
|
Package trace provides lightweight distributed tracing via context-propagated trace IDs and span tracking. |
|
util
Package util provides shared helper functions used across drivers, transports, and the rule engine.
|
Package util provides shared helper functions used across drivers, transports, and the rule engine. |
|
Package config provides configuration loading, parsing, and validation for CoreC.
|
Package config provides configuration loading, parsing, and validation for CoreC. |
|
demo
|
|
|
chained/validate
command
|
|
|
driver
|
|
|
all
Package all imports all driver packages to register their factories.
|
Package all imports all driver packages to register their factories. |
|
modbus
Package modbus implements the Modbus TCP and RTU protocol drivers for CoreC.
|
Package modbus implements the Modbus TCP and RTU protocol drivers for CoreC. |
|
opcua
Package opcua implements the OPC UA client driver for CoreC.
|
Package opcua implements the OPC UA client driver for CoreC. |
|
s7
Package s7 implements the Siemens S7 protocol driver for CoreC. Supports S7-200, S7-300, S7-400, S7-1200, and S7-1500 PLCs.
|
Package s7 implements the Siemens S7 protocol driver for CoreC. Supports S7-200, S7-300, S7-400, S7-1200, and S7-1500 PLCs. |
|
Package e2e contains end-to-end integration tests that wire real driver and transport implementations together through the engine, verifying the full data-collection pipeline.
|
Package e2e contains end-to-end integration tests that wire real driver and transport implementations together through the engine, verifying the full data-collection pipeline. |
|
Package engine implements the core.Engine interface and orchestration pipeline.
|
Package engine implements the core.Engine interface and orchestration pipeline. |
|
statistic
Package statistic collects engine throughput counters (reads, publishes, errors) as atomic counters.
|
Package statistic collects engine throughput counters (reads, publishes, errors) as atomic counters. |
|
route
Package route implements the CoreC RESTful API gateway: HTTP routing, middleware (CORS, rate limiting, authentication, request metrics), request handlers, WebSocket streams, and Prometheus-format metrics exposition.
|
Package route implements the CoreC RESTful API gateway: HTTP routing, middleware (CORS, rate limiting, authentication, request metrics), request handlers, WebSocket streams, and Prometheus-format metrics exposition. |
|
Package rule provides the rule matching and routing engine for CoreC data points.
|
Package rule provides the rule matching and routing engine for CoreC data points. |
|
transport
|
|
|
all
Package all imports all transport packages to register their factories.
|
Package all imports all transport packages to register their factories. |
|
httppush
Package httppush implements the HTTP Push transport for CoreC.
|
Package httppush implements the HTTP Push transport for CoreC. |
|
mqtt
Package mqtt implements the MQTT transport for CoreC.
|
Package mqtt implements the MQTT transport for CoreC. |
|
parser
Package parser provides pluggable parsing of incoming transport payloads (MQTT messages, HTTP webhook bodies) into core.DataPoint values.
|
Package parser provides pluggable parsing of incoming transport payloads (MQTT messages, HTTP webhook bodies) into core.DataPoint values. |
Click to show internal directories.
Click to hide internal directories.