ping

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PayloadType

type PayloadType int
const (
	Publisher PayloadType = iota + 1
	Consumer
	Partition
)

func (PayloadType) Int32

func (p PayloadType) Int32() int32

type Ping

type Ping struct {
	// contains filtered or unexported fields
}

func (*Ping) Ping

func (p *Ping) Ping(ctx context.Context, pt PayloadType) error

type Pinger

type Pinger interface {
	Ping(ctx context.Context, pt PayloadType) error
}

func New

func New(conn net.Conn) Pinger

Jump to

Keyboard shortcuts

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