Directories
¶
| Path | Synopsis |
|---|---|
|
Package bridgeapi is the bridge half of go-fabric-server: the /bridge API through which a host that is not written in Go declares devices, sends state deltas and answers what a controller asks of them (concept v8 C.3, brief S2 §1).
|
Package bridgeapi is the bridge half of go-fabric-server: the /bridge API through which a host that is not written in Go declares devices, sends state deltas and answers what a controller asks of them (concept v8 C.3, brief S2 §1). |
|
Package client is a Go client of both halves of go-fabric-server.
|
Package client is a Go client of both halves of go-fabric-server. |
|
cmd
|
|
|
fabric-server
command
Command fabric-server is the go-fabric-server daemon: a WebSocket/JSON API over go-fabric.
|
Command fabric-server is the go-fabric-server daemon: a WebSocket/JSON API over go-fabric. |
|
Package controllerapi is the controller half of go-fabric-server: the WebSocket API at /ws, wire-compatible with matterjs-server's (schema 14, the python-matter-server contract Home Assistant's Matter integration speaks), over go-fabric's controller facade.
|
Package controllerapi is the controller half of go-fabric-server: the WebSocket API at /ws, wire-compatible with matterjs-server's (schema 14, the python-matter-server contract Home Assistant's Matter integration speaks), over go-fabric's controller facade. |
|
internal
|
|
|
daemon
Package daemon is the composition root of fabric-server: the flags, the controller and the controller half of the API, the node and the bridge half, the HTTP listener and its routes.
|
Package daemon is the composition root of fabric-server: the flags, the controller and the controller half of the API, the node and the bridge half, the HTTP listener and its routes. |
|
gen
command
Command gen generates protocol/schema from go-fabric's snapshot of the matter.js model (parity.SchemaJSON, the bytes of go-fabric's parity/schema.json): tables_gen.go, the clusters, attributes, commands, events, datatypes and device types as Go tables, and schema.json, the JSON Schema (draft 2020-12) of the node data values that GET /schema serves.
|
Command gen generates protocol/schema from go-fabric's snapshot of the matter.js model (parity.SchemaJSON, the bytes of go-fabric's parity/schema.json): tables_gen.go, the clusters, attributes, commands, events, datatypes and device types as Go tables, and schema.json, the JSON Schema (draft 2020-12) of the node data values that GET /schema serves. |
|
version
Package version is the build metadata of go-fabric-server, set at link time (-ldflags -X); the defaults keep go run and the tests working.
|
Package version is the build metadata of go-fabric-server, set at link time (-ldflags -X); the defaults keep go run and the tests working. |
|
Package protocol is the wire of go-fabric-server: the envelope of every frame, the error codes, the schema numbers, the JSON codec and the per-connection send path with its backpressure model.
|
Package protocol is the wire of go-fabric-server: the envelope of every frame, the error codes, the schema numbers, the JSON codec and the per-connection send path with its backpressure model. |
|
schema
Package schema is the data model of the protocol, generated from go-fabric's snapshot of the matter.js model (parity/schema.json, read through go-fabric's parity package): every cluster with its attributes, commands, events and datatypes, every device type, by id and by name.
|
Package schema is the data model of the protocol, generated from go-fabric's snapshot of the matter.js model (parity/schema.json, read through go-fabric's parity package): every cluster with its attributes, commands, events and datatypes, every device type, by id and by name. |
|
script
|
|
|
coverfloor
command
Command coverfloor checks the statement coverage of each package against its floor.
|
Command coverfloor checks the statement coverage of each package against its floor. |
Click to show internal directories.
Click to hide internal directories.