Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpPing ¶
type HttpPing struct {
Method string
URL string
IP netip.Addr
// contains filtered or unexported fields
}
func NewHttpPing ¶
func (*HttpPing) Ping ¶
func (h *HttpPing) Ping() statute.IPingResult
func (*HttpPing) PingContext ¶
func (h *HttpPing) PingContext(ctx context.Context) statute.IPingResult
type HttpPingResult ¶
func (*HttpPingResult) Error ¶
func (h *HttpPingResult) Error() error
func (*HttpPingResult) Result ¶
func (h *HttpPingResult) Result() int
func (*HttpPingResult) String ¶
func (h *HttpPingResult) String() string
type Ping ¶
type Ping struct {
Options *statute.ScannerOptions
}
type QuicPing ¶
type QuicPing struct {
Host string
Port uint16
IP netip.Addr
// contains filtered or unexported fields
}
func NewQuicPing ¶
func (*QuicPing) Ping ¶
func (h *QuicPing) Ping() statute.IPingResult
func (*QuicPing) PingContext ¶
func (h *QuicPing) PingContext(ctx context.Context) statute.IPingResult
type QuicPingResult ¶
type QuicPingResult struct {
Time int
Err error
IP netip.Addr
QUICVersion uint32
TLSVersion uint16
}
func (*QuicPingResult) Error ¶
func (h *QuicPingResult) Error() error
func (*QuicPingResult) Result ¶
func (h *QuicPingResult) Result() int
func (*QuicPingResult) String ¶
func (h *QuicPingResult) String() string
type TcpPing ¶
type TcpPing struct {
Port uint16
// contains filtered or unexported fields
}
func NewTcpPing ¶
func (*TcpPing) Ping ¶
func (tp *TcpPing) Ping() statute.IPingResult
func (*TcpPing) PingContext ¶
func (tp *TcpPing) PingContext(ctx context.Context) statute.IPingResult
type TcpPingResult ¶
func (*TcpPingResult) Error ¶
func (tp *TcpPingResult) Error() error
func (*TcpPingResult) Result ¶
func (tp *TcpPingResult) Result() int
func (*TcpPingResult) String ¶
func (tp *TcpPingResult) String() string
type TlsPing ¶
type TlsPing struct {
Host string
Port uint16
IP netip.Addr
// contains filtered or unexported fields
}
func NewTlsPing ¶
func (*TlsPing) Ping ¶
func (t *TlsPing) Ping() statute.IPingResult
func (*TlsPing) PingContext ¶
func (t *TlsPing) PingContext(ctx context.Context) statute.IPingResult
type TlsPingResult ¶
func (*TlsPingResult) Error ¶
func (t *TlsPingResult) Error() error
func (*TlsPingResult) Result ¶
func (t *TlsPingResult) Result() int
func (*TlsPingResult) String ¶
func (t *TlsPingResult) String() string
type WarpPing ¶
type WarpPing struct {
PrivateKey string
PeerPublicKey string
IP netip.Addr
// contains filtered or unexported fields
}
func NewWarpPing ¶
func NewWarpPing(ip netip.Addr, opts *statute.ScannerOptions) *WarpPing
func (*WarpPing) Ping ¶
func (h *WarpPing) Ping() statute.IPingResult
func (*WarpPing) PingContext ¶
func (h *WarpPing) PingContext(_ context.Context) statute.IPingResult
type WarpPingResult ¶
func (*WarpPingResult) Error ¶
func (h *WarpPingResult) Error() error
func (*WarpPingResult) Result ¶
func (h *WarpPingResult) Result() int
func (*WarpPingResult) String ¶
func (h *WarpPingResult) String() string
Click to show internal directories.
Click to hide internal directories.