mirror of
https://github.com/projectdiscovery/httpx.git
synced 2024-09-11 17:46:08 +03:00
Fixed stylecheck issues
This commit is contained in:
parent
cd4e59ce27
commit
aa5a635dc0
4
common/cache/cache.go
vendored
4
common/cache/cache.go
vendored
@ -4,10 +4,10 @@ import (
|
||||
"net"
|
||||
|
||||
"github.com/coocood/freecache"
|
||||
dns "github.com/projectdiscovery/httpx/common/resolver"
|
||||
dns "github.com/projectdiscovery/httpx/common/resolve"
|
||||
)
|
||||
|
||||
// Cache is a strcture for caching DNS lookups
|
||||
// Cache is a structure for caching DNS lookups
|
||||
type Cache struct {
|
||||
dnsClient Resolver
|
||||
cache *freecache.Cache
|
||||
|
2
common/cache/dialer.go
vendored
2
common/cache/dialer.go
vendored
@ -7,7 +7,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/coocood/freecache"
|
||||
dns "github.com/projectdiscovery/httpx/common/resolver"
|
||||
dns "github.com/projectdiscovery/httpx/common/resolve"
|
||||
)
|
||||
|
||||
var (
|
||||
|
2
common/cache/doc.go
vendored
Normal file
2
common/cache/doc.go
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
// Package cache contains the logic for caching dns resolver
|
||||
package cache
|
2
common/customheader/doc.go
Normal file
2
common/customheader/doc.go
Normal file
@ -0,0 +1,2 @@
|
||||
// Package customheader contains all the funcionality to deal with Custom Global Headers
|
||||
package customheader
|
2
common/customports/doc.go
Normal file
2
common/customports/doc.go
Normal file
@ -0,0 +1,2 @@
|
||||
// Package customport contains all the funcionality to deal with HTTP ports
|
||||
package customport
|
2
common/fileutil/doc.go
Normal file
2
common/fileutil/doc.go
Normal file
@ -0,0 +1,2 @@
|
||||
// Package fileutil contains all the funcionality related to deal with files
|
||||
package fileutil
|
2
common/httputilz/doc.go
Normal file
2
common/httputilz/doc.go
Normal file
@ -0,0 +1,2 @@
|
||||
// Package httputilz contains all the funcionality related to common HTTP operations, dump, define methods...
|
||||
package httputilz
|
2
common/httpx/doc.go
Normal file
2
common/httpx/doc.go
Normal file
@ -0,0 +1,2 @@
|
||||
// Package httpx containst the httpx common funcionality
|
||||
package httpx
|
2
common/iputil/doc.go
Normal file
2
common/iputil/doc.go
Normal file
@ -0,0 +1,2 @@
|
||||
// Package iputil containst common utils for IP addresses
|
||||
package iputil
|
@ -1,4 +1,4 @@
|
||||
package dns
|
||||
package resolve
|
||||
|
||||
import (
|
||||
"bytes"
|
3
common/resolve/doc.go
Normal file
3
common/resolve/doc.go
Normal file
@ -0,0 +1,3 @@
|
||||
// Package resolve is used to handle resolving records
|
||||
// It also handles wildcard subdomains and rotating resolvers.
|
||||
package resolve
|
@ -1,4 +1,4 @@
|
||||
package dns
|
||||
package resolve
|
||||
|
||||
import (
|
||||
"net"
|
2
common/slice/doc.go
Normal file
2
common/slice/doc.go
Normal file
@ -0,0 +1,2 @@
|
||||
// Package slice contains a set of utilities to deal with slices
|
||||
package slice
|
2
common/stringz/doc.go
Normal file
2
common/stringz/doc.go
Normal file
@ -0,0 +1,2 @@
|
||||
// Package stringz contains a set of utilities to deal with strings
|
||||
package stringz
|
Loading…
Reference in New Issue
Block a user