Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct { // Embed a net.Conn and inherit its members. net.Conn GetDummyTraffic DummyTrafficFunc // contains filtered or unexported fields }
Conn implements the net.Conn interface.
type DummyTrafficFunc ¶
DummyTrafficFunc must be implemented by transports that want to use sharknado. The function takes as input the number of desired dummy traffic bytes and returns a []byte slice (and an error) that is ready to be written to the wire. Needless to say, a transport must support dummy traffic to use sharknado.
Click to show internal directories.
Click to hide internal directories.