Documentation ¶
Overview ¶
package provides cobra commands
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Verbose bool
Functions ¶
Types ¶
type ServiceRunner ¶
type ServiceRunner struct {
// contains filtered or unexported fields
}
func Command ¶
func Command(service Service) *ServiceRunner
func (*ServiceRunner) MustRun ¶
func (r *ServiceRunner) MustRun() int
Run service once and panics if service is broken
Click to show internal directories.
Click to hide internal directories.