waitgroup

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WaitGroup

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

WaitGroup type

func New

func New(timeout time.Duration) *WaitGroup

New func

func (*WaitGroup) Add

func (wg *WaitGroup) Add(key uint64)

Add func

func (*WaitGroup) Done

func (wg *WaitGroup) Done(key uint64)

Done func

func (*WaitGroup) Get

func (wg *WaitGroup) Get(key uint64) int

Get func

func (*WaitGroup) Wait

func (wg *WaitGroup) Wait(key uint64)

Wait func

Jump to

Keyboard shortcuts

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