utils

package
v0.0.0-...-6bad842 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractDomains

func ExtractDomains(content string) []string

func GetAttribute

func GetAttribute(tag html.Token, name string) string

func GetNetworkConnection

func GetNetworkConnection(onionService string, port int, proxy string, timeout time.Duration) (net.Conn, error)

func RemoveDuplicates

func RemoveDuplicates(xs *[]string)

RemoveDuplicates is a utility function

func WithoutProtocol

func WithoutProtocol(url string) string

func WithoutSubdomains

func WithoutSubdomains(urlhost string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL