Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(ctx context.Context, name string, logger log.Interface, h Handler) (*Controller, error)
NewController creates a hub for message send/receive
func (*Controller) Close ¶
func (c *Controller) Close()
func (*Controller) RefreshChannels ¶
func (c *Controller) RefreshChannels() (cmdCh chan<- *arhatgopb.Cmd, msgCh <-chan *arhatgopb.Msg)
func (*Controller) Start ¶
func (c *Controller) Start() error
type ExtensionType ¶
type ExtensionType string
const (
ExtensionPeripheral ExtensionType = "/peripherals"
)
Click to show internal directories.
Click to hide internal directories.