tcp

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Meta

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

func (Meta) String

func (m Meta) String() string

type TPing

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

func New

func New(host string, port int, op *ping.TOption, tls bool) *TPing

func (*TPing) Ping

func (p *TPing) Ping(ctx context.Context) *ping.TStats

func (*TPing) SetTarget

func (p *TPing) SetTarget(t *ping.TTarget)

Jump to

Keyboard shortcuts

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