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
No description provided by the author
No description provided by the author
No description provided by the author
WithEnergyLevelOption configures the energyLevel resource of the model.
WithEnergyStorageApiClientFactory instructs the router to create a new client the first time Get is called for that name.
WithEnergyStorageInfoClientFactory instructs the router to create a new client the first time Get is called for that name.
WithInitialEnergyLevel returns an option that configures the model to initialise with the given energy level.
WrapApi adapts a traits.EnergyStorageApiServer and presents it as a traits.EnergyStorageApiClient.
WrapInfo adapts a traits.EnergyStorageInfoServer and presents it as a traits.EnergyStorageInfoClient.
# Variables
DefaultModelOptions holds the default options for the model.
# Structs
ApiRouter is a traits.EnergyStorageApiServer that allows routing named requests to specific traits.EnergyStorageApiClient.
No description provided by the author
InfoRouter is a traits.EnergyStorageInfoServer that allows routing named requests to specific traits.EnergyStorageInfoClient.
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.
# Type aliases
No description provided by the author