Documentation ¶
Index ¶
- Constants
- Variables
- func AssignVariableRaw(find string, variableMap map[string]any) string
- func ExpandMapValues(m map[string]string) map[string][]string
- func GetRawHTTP(proxy string, timeout int) *rawhttp.Client
- func LoadProxyServers(proxy string) error
- func RandomIntWithMin(min, max int) int
- type RawHttp
- type Request
Constants ¶
View Source
const ( HTTP_PROXY_ENV = "HTTP_PROXY" SOCKS5 = "socks5" HTTP = "http" HTTPS = "https" DefaultTimeout = 10 )
Variables ¶
View Source
var ( // ProxyURL is the URL for the proxy server ProxyURL string // ProxySocksURL is the URL for the proxy socks server ProxySocksURL string )
Functions ¶
func LoadProxyServers ¶
loadProxyServers load list of proxy servers from file or comma seperated
func RandomIntWithMin ¶
Types ¶
type Request ¶
type Request struct { FullURL string Method string Path string Data string Headers map[string]string UnsafeHeaders client.Headers UnsafeRawBytes []byte }
Request defines a basic HTTP raw request
func (*Request) TryFillCustomHeaders ¶
TryFillCustomHeaders after the Host header
Click to show internal directories.
Click to hide internal directories.