Directories
¶
| Path | Synopsis |
|---|---|
|
cloudpath
|
|
|
v1/application
Package application is the handwritten Go contract for proto/cloudpath/v1/application.proto (Application Protocol v1).
|
Package application is the handwritten Go contract for proto/cloudpath/v1/application.proto (Application Protocol v1). |
|
v1/driver
Package driver is the handwritten Go contract for proto/cloudpath/v1/driver.proto (Driver Protocol v1).
|
Package driver is the handwritten Go contract for proto/cloudpath/v1/driver.proto (Driver Protocol v1). |
|
v1/status
Package status defines the handwritten RPC status type shared by the driver and application protocol packages.
|
Package status defines the handwritten RPC status type shared by the driver and application protocol packages. |
|
Package driverkit 定义外部 Driver 插件所需的公共契约:Config / State / Event / Command / Device / Adapter 与 Descriptor/Capability 类型,以及进程内注册表。
|
Package driverkit 定义外部 Driver 插件所需的公共契约:Config / State / Event / Command / Device / Adapter 与 Descriptor/Capability 类型,以及进程内注册表。 |
|
sampleexternal
Package sampleexternal 是一个「仓外风格」的参考 Driver 样例:只 import 公共 SDK (sdk/go/driverkit 与 sdk/go/model),不 import 任何 internal/*。
|
Package sampleexternal 是一个「仓外风格」的参考 Driver 样例:只 import 公共 SDK (sdk/go/driverkit 与 sdk/go/model),不 import 任何 internal/*。 |
|
Package model 定义 CloudPath 的设备无关领域模型:Device / Entity / Capability / Observation / Event / Command / Descriptor,并负责对冻结契约 spec/descriptor.schema.json 与 spec/capability.schema.json 的校验。
|
Package model 定义 CloudPath 的设备无关领域模型:Device / Entity / Capability / Observation / Event / Command / Descriptor,并负责对冻结契约 spec/descriptor.schema.json 与 spec/capability.schema.json 的校验。 |
|
Package pluginmain is the common executable entrypoint helper for CloudPath process plugins.
|
Package pluginmain is the common executable entrypoint helper for CloudPath process plugins. |
|
Package pluginruntime provides the production local socket transport that binds a plugin process to its host for one launch, plus the handshake and RPC bridges used by the A4 Plugin Host and SDK service layers.
|
Package pluginruntime provides the production local socket transport that binds a plugin process to its host for one launch, plus the handshake and RPC bridges used by the A4 Plugin Host and SDK service layers. |
|
Package rpc is a small, handwritten RPC framing layer for the in-process transport.
|
Package rpc is a small, handwritten RPC framing layer for the in-process transport. |
|
Package transport defines the transport abstraction every handwritten RPC protocol sits on.
|
Package transport defines the transport abstraction every handwritten RPC protocol sits on. |
Click to show internal directories.
Click to hide internal directories.