internal

package
v0.0.0-...-abf2807 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RetryWithExpBackoff

func RetryWithExpBackoff(ctx context.Context, f func(context.Context) error, delay time.Duration, maxTries int) error

Types

type Eavesdropper

type Eavesdropper struct {
	net.Conn
	// contains filtered or unexported fields
}

func NewEavesdropper

func NewEavesdropper(conn net.Conn) *Eavesdropper

func (Eavesdropper) Read

func (e Eavesdropper) Read(buf []byte) (n int, err error)

func (Eavesdropper) Write

func (e Eavesdropper) Write(buf []byte) (n int, err error)

Jump to

Keyboard shortcuts

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