xnet

package
v0.0.0-...-2a6dfc0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRetryer

func NewRetryer() *metadataRetryer

func Sleep

func Sleep(ctx context.Context, d time.Duration) error

Sleep is the equivalent of gax.Sleep without the need for the dependency.

Types

type ProxyConn

type ProxyConn interface {
	ProxyTo(ch io.ReadWriteCloser) error
}

type ProxyDialer

type ProxyDialer interface {
	ProxyDial(ctx context.Context, dest string, c net.Conn) (ProxyConn, error)
}

Jump to

Keyboard shortcuts

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