package
0.0.0-20241219150934-9249a2757f07
Repository: https://github.com/smart-core-os/sc-golang.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
NewGroup creates a new Group instance with ExecutionStrategyAll for both reads and writes.
No description provided by the author
No description provided by the author
No description provided by the author
WithInitialOnOff returns an option that configures the model to initialise with the given onOff.
WithOnOffApiClientFactory instructs the router to create a new client the first time Get is called for that name.
WithOnOffInfoClientFactory instructs the router to create a new client the first time Get is called for that name.
WithOnOffOption configures the onOff resource of the model.
WrapApi adapts a traits.OnOffApiServer and presents it as a traits.OnOffApiClient.
WrapInfo adapts a traits.OnOffInfoServer and presents it as a traits.OnOffInfoClient.
# Variables
DefaultModelOptions holds the default options for the model.
# Structs
ApiRouter is a traits.OnOffApiServer that allows routing named requests to specific traits.OnOffApiClient.
No description provided by the author
Group combines multiple named devices into a single named device.
InfoRouter is a traits.OnOffInfoServer that allows routing named requests to specific traits.OnOffInfoClient.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
ModelOption defined the base type for all options that apply to this traits model.