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
No description provided by the author
NewModel is like NewModelModes(DefaultModes).
NewModelModes constructs a Model with the given modes.
No description provided by the author
WithModeApiClientFactory instructs the router to create a new client the first time Get is called for that name.
WithModeInfoClientFactory instructs the router to create a new client the first time Get is called for that name.
WrapApi adapts a traits.ModeApiServer and presents it as a traits.ModeApiClient.
WrapInfo adapts a traits.ModeInfoServer and presents it as a traits.ModeInfoClient.

# Variables

DefaultModes define the available modes of a Model if none are provided.

# Structs

ApiRouter is a traits.ModeApiServer that allows routing named requests to specific traits.ModeApiClient.
No description provided by the author
InfoRouter is a traits.ModeInfoServer that allows routing named requests to specific traits.ModeInfoClient.
No description provided by the author
Model provides a data structure for supporting the Fan Speed trait.
ModelServer adapts a Model as a traits.ModeApiServer.
goland:noinspection GoNameStartsWithPackageName.