Documentation ¶
Index ¶
- type PingConfig
- func (p *PingConfig) ApplicationListening() bool
- func (p *PingConfig) IterationID() int
- func (p *PingConfig) PingID() string
- func (p *PingConfig) PingReport() *collector.PingReport
- func (p *PingConfig) SeqNum() uint32
- func (p *PingConfig) SetApplicationListening(appListening bool)
- func (p *PingConfig) SetIterationID(iterationID int)
- func (p *PingConfig) SetPingID(pingID string)
- func (p *PingConfig) SetPingReport(pingReport *collector.PingReport)
- func (p *PingConfig) SetSeqNum(seqNum uint32)
- func (p *PingConfig) SetSocketClosed(socketClosed bool)
- func (p *PingConfig) SetSocketFd(socketFd uintptr)
- func (p *PingConfig) SocketClosed() bool
- func (p *PingConfig) SocketFd() uintptr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PingConfig ¶
type PingConfig struct { StartTime time.Time sync.RWMutex // contains filtered or unexported fields }
PingConfig holds ping configuration for this connection.
func (*PingConfig) ApplicationListening ¶
func (p *PingConfig) ApplicationListening() bool
ApplicationListening returns true if an app is listening.
func (*PingConfig) IterationID ¶
func (p *PingConfig) IterationID() int
IterationID returns iteration ID.
func (*PingConfig) PingReport ¶
func (p *PingConfig) PingReport() *collector.PingReport
PingReport returns ping report.
func (*PingConfig) SeqNum ¶
func (p *PingConfig) SeqNum() uint32
SeqNum returns tcp sequence number.
func (*PingConfig) SetApplicationListening ¶
func (p *PingConfig) SetApplicationListening(appListening bool)
SetApplicationListening sets appListening.
func (*PingConfig) SetIterationID ¶
func (p *PingConfig) SetIterationID(iterationID int)
SetIterationID sets iteration ID.
func (*PingConfig) SetPingID ¶
func (p *PingConfig) SetPingID(pingID string)
SetPingID sets ping ID.
func (*PingConfig) SetPingReport ¶
func (p *PingConfig) SetPingReport(pingReport *collector.PingReport)
SetPingReport sets ping report.
func (*PingConfig) SetSeqNum ¶
func (p *PingConfig) SetSeqNum(seqNum uint32)
SetSeqNum sets tcp sequence number.
func (*PingConfig) SetSocketClosed ¶
func (p *PingConfig) SetSocketClosed(socketClosed bool)
SetSocketClosed sets socket closed.
func (*PingConfig) SetSocketFd ¶
func (p *PingConfig) SetSocketFd(socketFd uintptr)
SetSocketFd sets socket file descriptor.
func (*PingConfig) SocketClosed ¶
func (p *PingConfig) SocketClosed() bool
SocketClosed returns socket closed.
func (*PingConfig) SocketFd ¶
func (p *PingConfig) SocketFd() uintptr
SocketFd returns socket file descriptor.
Click to show internal directories.
Click to hide internal directories.