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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址