bthreads

package module
v0.0.0-...-ea51abc Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: MIT Imports: 11 Imported by: 0

README

BTHREADS

Ultrafast goroutines iteration for your needs

Installation

go get github.com/Bearaujus/bthreads

Showcase

Once bthread instance successfully deployed it can't be stopped.
The only way to stop bthread instance, simply press ^c (ctrl + c)

Screen Shot 2022-06-11 at 22 25 58

Example

Credit

Bearaujus @2022

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInstance

func NewInstance(param *Config) (*instance, error)

Types

type Config

type Config struct {
	Name                string
	FuncGoroutinesCount int
	GoroutinesDelay     time.Duration
	LogDelay            time.Duration
	StartDelay          time.Duration
	HideWorkersData     bool
}

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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