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
WithChildrenOption configures the children resource of the model.
WithInitialChildren returns an option that configures the model to initialise with the given children.
WithParentApiClientFactory instructs the router to create a new client the first time Get is called for that name.
WithParentInfoClientFactory instructs the router to create a new client the first time Get is called for that name.
WrapApi adapts a traits.ParentApiServer and presents it as a traits.ParentApiClient.
WrapInfo adapts a traits.ParentInfoServer and presents it as a traits.ParentInfoClient.
# Variables
DefaultModelOptions holds the default options for the model.
# Structs
ApiRouter is a traits.ParentApiServer that allows routing named requests to specific traits.ParentApiClient.
No description provided by the author
InfoRouter is a traits.ParentInfoServer that allows routing named requests to specific traits.ParentInfoClient.
No description provided by the author
Model models a collection of children.
ModelServer exposes Model as a traits.ParentApiServer.
# Interfaces
ModelOption defined the base type for all options that apply to this traits model.