request

package
v0.0.0-...-5f892d9 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ping

func Ping(option interface{}) (int64, error)

func PingContext

func PingContext(ctx context.Context, option interface{}) (int64, error)
func PingLink(link string, attempts int) (int64, error)

func PingLinkInternal

func PingLinkInternal(link string, pingOption PingOption) (int64, error)

func PingSS

func PingSS(ssOption *outbound.ShadowSocksOption) (int64, error)

func PingSSR

func PingSSR(ssrOption *outbound.ShadowSocksROption) (int64, error)

func PingTrojan

func PingTrojan(trojanOption *outbound.TrojanOption) (int64, error)

func PingVmess

func PingVmess(vmessOption *outbound.VmessOption) (int64, error)

Types

type PingOption

type PingOption struct {
	Attempts int
	TimeOut  time.Duration
}

type PingResult

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

Jump to

Keyboard shortcuts

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