# Constants
No description provided by the author
No description provided by the author
IPProtoICMP represents an ICMP Protocol to be used in a Request object.
IPProtoTCP represents a TCP Protocol to be used in a Request object.
IPProtoUDP represents an UDP Protocol to be used in a Request object.
IPV4 represent ipv4 in a Request object.
IPV6 to be used in a Request object.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
PingController coordinates the ping requests and responses
*/.
No description provided by the author
Messenger Represents an ICMP Message and an IP Header to be sent or received.
OSPinger Represents an Operational System implementation of the ping command.
No description provided by the author
Poolable represents an object that is generated by the Pool.
Pooler Represents a pool of objects.
Requester represents an ICMP Echo Request message with a target ip
A request is created using the goping.Pool().NewRequest() method
The caller should fill the attributes like:
from Message Interface:
SetPeer(net.IP) //Set the peer node to be sent or received
SetTOS(int) //Set the TOS field to be sent or received
SetTTL(int) //Set the TTL field to be sent or received
SetSize(int) //Set the Packet Size field to be sent or received
from Request Interface:
SetIPVersion(int8)
SetIPProto(int8)
SetTimeout(time.Duration)
Once the attribute was set, the Request.Ping() method should be called to execute the ping.
Responder represent an ICMP reply message
This object is originated at the OSPinger and sent right to the Controller.
No description provided by the author
No description provided by the author