Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PingParser ¶
type PingParser struct {
// contains filtered or unexported fields
}
func NewPingParser ¶
func NewPingParser() *PingParser
func (*PingParser) Add ¶
func (pp *PingParser) Add(line string)
func (*PingParser) Close ¶
func (pp *PingParser) Close()
func (*PingParser) Read ¶
func (pp *PingParser) Read() cmdparser.ParserOutput
type PingResponse ¶
type PingResponse struct { Ping string // contains filtered or unexported fields }
func (*PingResponse) Bytes ¶
func (pr *PingResponse) Bytes() []byte
func (*PingResponse) Error ¶
func (pr *PingResponse) Error() error
func (*PingResponse) JSON ¶
func (pr *PingResponse) JSON() []byte
func (*PingResponse) String ¶
func (pr *PingResponse) String() string
type PingSummary ¶
type PingSummary struct { IP net.IP Sent int Received int Errors int Loss float64 RoundTripMin float64 RoundTripAvg float64 RoundTripMax float64 RoundTripStdDev float64 // contains filtered or unexported fields }
func (*PingSummary) Bytes ¶
func (ps *PingSummary) Bytes() []byte
func (*PingSummary) Error ¶
func (ps *PingSummary) Error() error
func (*PingSummary) JSON ¶
func (ps *PingSummary) JSON() []byte
func (*PingSummary) String ¶
func (ps *PingSummary) String() string
Click to show internal directories.
Click to hide internal directories.