utils

package
v2.9.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2017 License: MIT Imports: 4 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 {
	sync.WaitGroup
}

WaitGroup is an extension of sync.WaitGroup that allows waiting with a maximum duration

func (*WaitGroup) WaitForMax

func (wg *WaitGroup) WaitForMax(d time.Duration) error

WaitForMax waits until the WaitGroup is Done or the specified duration has elapsed

Directories

Path Synopsis
Package backoff is a slightly changed version of the backoff algorithm that comes with gRPC See: vendor/google.golang.org/grpc/LICENSE for the license
Package backoff is a slightly changed version of the backoff algorithm that comes with gRPC See: vendor/google.golang.org/grpc/LICENSE for the license
elasticsearch
handler
Package elasticsearch implements an Elasticsearch batch handler.
Package elasticsearch implements an Elasticsearch batch handler.
Package pointer provides helper method to quickly define pointer from basic go types
Package pointer provides helper method to quickly define pointer from basic go types
Package testing offers some handy methods to display check and cross symbols with colors in test logs.
Package testing offers some handy methods to display check and cross symbols with colors in test logs.

Jump to

Keyboard shortcuts

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