Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Success is returned when the operation was successful. Success = iota // Error is returned when the operation failed. Failed )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostResult ¶
type HostResult struct { Flag int // FullUrl string // The full URL Host string // example.com or ip addr Port int // port number TLS bool // true if TLS IP string // IP address Title string // title of the response Body string // body of the response StatusCode int // status code of the response ContentLength int64 // content length of the response ResponseTime int64 // time of the response FaviconHash string // favicon hash FingerPrint string RawBody []byte // Raw []byte // raw RawHeader []byte // header Headers map[string]string }
type Result ¶
func (*Result) AddHostResult ¶
func (r *Result) AddHostResult(hostResult *HostResult)
func (*Result) AddHostResultSlice ¶
func (r *Result) AddHostResultSlice(hostResult []*HostResult)
func (*Result) GetHostResult ¶
func (r *Result) GetHostResult() chan *HostResult
func (*Result) HasHostResult ¶
func (*Result) SetHostResult ¶
func (r *Result) SetHostResult(host string, hostResult *HostResult)
Click to show internal directories.
Click to hide internal directories.