Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ActionFuncForSpeedtest = func() cli.ActionFunc { return func(ctx *cli.Context) error { output, err := speeder.CallSpeedTestCommand() if err != nil { fmt.Fprintf(ctx.App.Writer, fmt.Sprintf("Call os envariment speedtest has error: %s\n", err)) return nil } speed, err := speeder.NewSpeederWithBytes(output) if err != nil { fmt.Fprintf(ctx.App.Writer, fmt.Sprintf("Create speedtest network check result.")) } fmt.Fprintf(ctx.App.Writer, fmt.Sprintf("%v", &speed)) return nil } }()
ActionFuncForSpeedtest Screenshot handler.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.