par

package
v0.0.0-...-bc5e03d Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2023 License: AFL-3.0, CC-BY-3.0 Imports: 18 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMpb

func NewMpb(quiet bool, saveProgress bool, logCon *io.Writer) (p *mpb.Progress)

NewMpb create mpb.Progress and with log context

func Tasks

func Tasks(parClis *ClisT) (err error)

Tasks parallel run tasks

Types

type ClisT

type ClisT struct {
	Script       string
	Index        string
	Env          string
	ForceAddIdx  string
	Thread       int
	TaskID       string
	LogDir       string
	SaveLog      bool
	SaveProgerss bool
	// Verbose: verbose level (0: no output, 1: basic output)
	Verbose int
}

ClisT is the type of parameters of parTasks

Jump to

Keyboard shortcuts

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