workers

package module
v0.0.0-...-820944b Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2021 License: MIT Imports: 7 Imported by: 0

README

workers

A FAIRE.

Licence

MIT.


Copyright (c) 2021 mls-361.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Logger   logger.Logger
	Runner   jw.Runner
	PoolSize int
	Host     string
}

Config AFAIRE.

type Pool

type Pool struct {
	// contains filtered or unexported fields
}

Pool AFAIRE.

func NewPool

func NewPool(cfg *Config) (*Pool, error)

NewPool AFAIRE.

func (*Pool) Resize

func (p *Pool) Resize(size int)

Resize AFAIRE.

func (*Pool) Start

func (p *Pool) Start()

Start AFAIRE.

func (*Pool) Stop

func (p *Pool) Stop()

Stop AFAIRE.

Jump to

Keyboard shortcuts

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