...
Package restore
Overview ▹
Index ▹
type Command ¶
Command represents the program execution for "influxd restore".
type Command struct {
Stdout io.Writer
Stderr io.Writer
// TODO: when the new meta stuff is done this should not be exported or be gone
MetaConfig *meta.Config
// contains filtered or unexported fields
}
func NewCommand ¶
func NewCommand() *Command
NewCommand returns a new instance of Command with default settings.
func (*Command) Run ¶
func (cmd *Command) Run(args ...string) error
Run executes the program.
ActiveGo 1.8