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 creates a new model.
No description provided by the author
WithHailApiClientFactory instructs the router to create a new client the first time Get is called for that name.
WithHailInfoClientFactory instructs the router to create a new client the first time Get is called for that name.
WithKeepAlive configures the minimum time a Hail will live after it has reached the ARRIVED state before it is deleted.
WrapApi adapts a traits.HailApiServer and presents it as a traits.HailApiClient.
WrapInfo adapts a traits.HailInfoServer and presents it as a traits.HailInfoClient.
# Variables
DefaultModelOptions holds the default options for the model.
# Structs
ApiRouter is a traits.HailApiServer that allows routing named requests to specific traits.HailApiClient.
No description provided by the author
goland:noinspection GoNameStartsWithPackageName.
No description provided by the author
InfoRouter is a traits.HailInfoServer that allows routing named requests to specific traits.HailInfoClient.
No description provided by the author
Model describes the data structure needed to implement the Hail trait.
ModelServer adapts a Model to implement traits.HailApiServer.
# Interfaces
ModelOption defined the base type for all options that apply to this traits model.