multigo

package
v0.0.0-...-b51443a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2022 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result interface {
	Data() interface{}
	Append(Result) error
}

Result exec result, and can merge another result

func ExecByMultiGo

func ExecByMultiGo(goNum int, runners []Runner) (Result, error)

ExecByMultiGo exec by multi goroutine

type Runner

type Runner interface {
	Exec() (Result, error)
}

Runner able exec with params

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL