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 ¶
type HttpPingResult struct { AddrPort netip.AddrPort Proto string Status int Length int RTT time.Duration Err error }
func (*HttpPingResult) Error ¶
func (h *HttpPingResult) Error() error
func (*HttpPingResult) Result ¶
func (h *HttpPingResult) Result() statute.IPInfo
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 { AddrPort netip.AddrPort QUICVersion quic.VersionNumber TLSVersion uint16 RTT time.Duration Err error }
func (*QuicPingResult) Error ¶
func (h *QuicPingResult) Error() error
func (*QuicPingResult) Result ¶
func (h *QuicPingResult) Result() statute.IPInfo
func (*QuicPingResult) String ¶
func (h *QuicPingResult) String() string
type TcpPing ¶
type TcpPing struct {
// 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() statute.IPInfo
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() statute.IPInfo
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(ctx context.Context) statute.IPingResult
type WarpPingResult ¶
func (*WarpPingResult) Error ¶
func (h *WarpPingResult) Error() error
func (*WarpPingResult) Result ¶
func (h *WarpPingResult) Result() statute.IPInfo
func (*WarpPingResult) String ¶
func (h *WarpPingResult) String() string
Click to show internal directories.
Click to hide internal directories.