utils

package
Version: v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowConnection

func AllowConnection(ip, port string) error

func MergeErrors

func MergeErrors(ctx context.Context, cs ...<-chan error) chan error

func ReportError

func ReportError(ctx context.Context, errc chan error, err error)

func ReportResult

func ReportResult(ctx context.Context, outc chan interface{}, result interface{})

func ResetConnList

func ResetConnList() error

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL