Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdaptorType ¶
type AdaptorType uint8
AdaptorType represents the supported adaptors
func ParseAdaptorType ¶
func ParseAdaptorType(adaptorString string) (a AdaptorType, err error)
ParseAdaptorType try get adaptor type from string
func (AdaptorType) String ¶
func (a AdaptorType) String() string
type RailRunner ¶
type RailRunner interface {
Run() (err error)
}
RailRunner is an interface to poll the rail
func Create ¶
func Create(daemonMode bool, name string, adaptorType AdaptorType, planFile string, recipeFiles RecipeFiles) (runner RailRunner, err error)
Create will create a static device connection for run before creating, the old gobot robot will be stopped after creating the devices, a new gobot robot will be created and started
type RecipeFiles ¶
RecipeFiles contains additional files to add to menu card
Click to show internal directories.
Click to hide internal directories.