# Packages
No description provided by the author
# Functions
AnnounceContext returns a new Announcer that undoes any announcements when ctx is Done.
AnnounceFeatures returns an Announcer that acts like `Announce(name, [moreFeatures..., features...])`.
AnnounceWithNamePrefix returns an Announcer whose Announce method acts like `Announce(prefix+name, features...)`.
Api instructs the node to register the given apis with the grpc.Server when Node.Register is called.
Client returns a new api client of type C which can be used to interact with the named devices in n.
Clients adds the given clients, which should be proto service clients, to a node.
Dial calls grpc.DialContext and returns it as a Remote.
DialChan returns a Remote that connects to the last received target from targets.
FindClient places into c a client backed by the named devices in n.
HasClient indicates that the name implements non-trait apis as defined by these clients.
HasMetadata merges the given metadata into any existing metadata held against the device name.
HasTrait indicates that the device implements the named trait.
New creates a new Node node with the given name.
NilUndo does nothing.
NoAddChildTrait instructs the Node not to add the trait to the nodes parent.Model.
Routing adds the given routers to the supported API of the node.
UndoAll creates an Undo that undoes all the given Undo in order.
WithClients indicates that the trait is implemented by these client instances.
No description provided by the author
# Variables
No description provided by the author
# Structs
EmptyDialOption does not change how a dial will be performed.
EmptyFeature is a Feature that means nothing.
EmptyFunction does not change the functions a Node supports.
No description provided by the author
Node represents a smart core node.
# Interfaces
Announcer defines the Announce method.
Clienter represents a type that can respond with an API client.
No description provided by the author
Feature describes some aspect of a named device.
Function represents something that is supported by a type.
Remote represents a remote smart core node.
SelfAnnouncer is a complement to node.Announcer allowing a type to announce itself.
SelfSupporter inverts the receiver for Supporter.
Supporter is a type that can have its supported functions changed at runtime.
# Type aliases
AnnouncerFunc allows adapting a func of the correct signature to implement Announcer.
ClientFunc adapts a func of the correct signature to implement Clienter.
TraitOption controls how a Node behaves when presented with a new device trait.
Undo allows a statement to be undone.