Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HoneyPot ¶
type HoneyPot struct {
// contains filtered or unexported fields
}
HoneyPot encapsulates the initialized struct
func NewHoneyPot ¶
NewHoneyPot takes in IP address to be used for honeypot
func (*HoneyPot) Close ¶
Close returns any error returned from closing the Server's underlying Listener(s).
func (*HoneyPot) ListenAndServe ¶
ListenAndServe listens on the TCP network address srv.Addr and then calls Serve to handle incoming connections
func (*HoneyPot) SetReturnString ¶
SetReturnString takes in a string and set it as the response from the server
Click to show internal directories.
Click to hide internal directories.