limit

package
v0.0.0-...-1fc07e7 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Limit

type Limit struct {
	sync.WaitGroup

	Err chan error
	// contains filtered or unexported fields
}

func NewLimit

func NewLimit(limit int) Limit

func (*Limit) Close

func (l *Limit) Close()

func (*Limit) Error

func (l *Limit) Error(err error)

func (*Limit) Release

func (l *Limit) Release()

func (*Limit) Take

func (l *Limit) Take()

Jump to

Keyboard shortcuts

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