Documentation
¶
Index ¶
- func Rand(arrays ...[]string) chan []string
- type Rander
- type Result
- func (r *Result) AddPathByResult(k, v string)
- func (r *Result) AddSkipped(k, v string)
- func (r *Result) AddTarget(target string)
- func (r *Result) DelSkipped(target, path string)
- func (r *Result) GetPathsByTarget() map[string]map[string]struct{}
- func (r *Result) GetPathsCount() int
- func (r *Result) GetSkippedCount() int
- func (r *Result) GetTargets() chan string
- func (r *Result) HasPath(k string, v string) bool
- func (r *Result) HasPaths() bool
- func (r *Result) HasSkipped(target, path string) bool
- func (r *Result) HasTarget(target string) bool
- func (r *Result) HasTargets() bool
- func (r *Result) IsEmpty() bool
- func (r *Result) Len() int
- func (r *Result) RemoveTargets(k string)
- type TargetResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Result ¶
type Result struct { sync.RWMutex TargetPaths map[string]map[string]struct{} `json:"target_paths,omitempty"` Targets map[string]struct{} `json:"targets,omitempty"` Skipped map[string]map[string]struct{} `json:"skipped,omitempty"` }
func (*Result) AddPathByResult ¶
func (*Result) AddSkipped ¶
func (*Result) DelSkipped ¶
func (*Result) GetPathsByTarget ¶
func (*Result) GetPathsCount ¶
func (*Result) GetSkippedCount ¶
func (*Result) GetTargets ¶
func (*Result) HasSkipped ¶
func (*Result) HasTargets ¶
func (*Result) RemoveTargets ¶
type TargetResult ¶
type TargetResult struct { TimeStamp time.Time `json:"timestamp" csv:"timestamp"` URL string `json:"url" csv:"url"` Path string `json:"path" csv:"path"` Title string `json:"title" csv:"title"` Host string `json:"host" csv:"host"` A []string `json:"a" csv:"a"` CNAME []string `json:"cname" csv:"cname"` Status int `json:"status" csv:"status"` ContentLength int64 `json:"content_length" csv:"content_length"` Server string `json:"server" csv:"server"` Technology []string `json:"technology" csv:"technology"` }
func (*TargetResult) ToString ¶
func (tr *TargetResult) ToString() string
Click to show internal directories.
Click to hide internal directories.