Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MADFilter ¶ added in v1.2.0
func MADFilter(data stats.Float64Data) (stats.Float64Data, error)
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func NewSession ¶
func NewSession(pingers []*probing.Pinger) *Session
NewSession creates a new session with the given number of pingers.
func (*Session) Statistics ¶
func (s *Session) Statistics() (*Statistics, error)
type StatWithSize ¶ added in v1.2.0
type StatWithSize struct { *probing.Statistics Bytes int }
type Statistics ¶ added in v1.2.0
type Statistics struct { Pingers []*StatWithSize Bitrate float64 Latency time.Duration }
func NewStatistics ¶ added in v1.2.0
func NewStatistics(pingers []*probing.Pinger) (*Statistics, error)
func (*Statistics) String ¶ added in v1.2.0
func (s *Statistics) String() string
Click to show internal directories.
Click to hide internal directories.