util

package
v1.17.3 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: LGPL-3.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeUnboundedChan added in v1.17.0

func MakeUnboundedChan[V any](sendCh chan<- V, log logger.Logger, bufferLimitWarning int) chan<- V

NOTE: please see https://github.com/goware/channel for an improved version of the below method.

converts a blocking unbuffered send channel into a non-blocking unbounded buffered one inspired by https://medium.com/capital-one-tech/building-an-unbounded-channel-in-go-789e175cd2cd

func ReadTestConfig added in v1.3.0

func ReadTestConfig(testConfigFile string) (map[string]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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