sdk/

directory
v0.2.43 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: Apache-2.0

Directories

Path Synopsis
go
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).
cloudpath/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).
cloudpath/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.
driverkit
Package driverkit 定义外部 Driver 插件所需的公共契约:Config / State / Event / Command / Device / Adapter 与 Descriptor/Capability 类型,以及进程内注册表。
Package driverkit 定义外部 Driver 插件所需的公共契约:Config / State / Event / Command / Device / Adapter 与 Descriptor/Capability 类型,以及进程内注册表。
driverkit/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/*。
model
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 的校验。
pluginmain
Package pluginmain is the common executable entrypoint helper for CloudPath process plugins.
Package pluginmain is the common executable entrypoint helper for CloudPath process plugins.
pluginruntime
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.
rpc
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.
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.

Jump to

Keyboard shortcuts

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