Documentation
¶
Index ¶
- Variables
- func Base64Decode(s string) ([]byte, error)
- func CalculateShannonEntropy(str string) float64
- func Decrypt(data []byte, password string) ([]byte, error)
- func Encrypt(data []byte, password string) ([]byte, error)
- func ParseAPIError(body []byte, apiKey string) string
- func ParseRetryAfter(respHeaders map[string][]string) int
- func ValidateURL(rawURL string) error
- type BloomFilter
Constants ¶
This section is empty.
Variables ¶
View Source
var SkipSSRFCheck bool
Functions ¶
func Base64Decode ¶ added in v1.0.8
func CalculateShannonEntropy ¶ added in v1.0.6
func ParseAPIError ¶
func ParseRetryAfter ¶
func ValidateURL ¶ added in v1.0.5
Types ¶
type BloomFilter ¶ added in v1.0.8
type BloomFilter struct {
// contains filtered or unexported fields
}
func LoadBloomFilter ¶ added in v1.1.0
func LoadBloomFilter(filePath string) (*BloomFilter, error)
func NewBloomFilter ¶ added in v1.0.8
func NewBloomFilter(n uint64, p float64) *BloomFilter
func (*BloomFilter) Add ¶ added in v1.0.8
func (bf *BloomFilter) Add(data string)
func (*BloomFilter) Save ¶ added in v1.1.0
func (bf *BloomFilter) Save(filePath string) error
func (*BloomFilter) Test ¶ added in v1.0.8
func (bf *BloomFilter) Test(data string) bool
Click to show internal directories.
Click to hide internal directories.