Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "led-strip-controller", Short: "Does stuff", Long: `Does stuff`, Run: func(cmd *cobra.Command, args []string) { ss := config.BuildStrips(stripFile) defer func() { ss.AllOff() }() mux := goji.NewMux() api.Register(mux, ss) http.ListenAndServe(":8000", mux) }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.