galer

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsURI

func IsURI(s string) bool

IsURI detect valid URI

Types

type Config

type Config struct {
	Timeout int
	// Headers network.Headers
	Context context.Context
	Cancel  context.CancelFunc
}

Config declare its configurations

func New

func New(cfg *Config) *Config

New defines context for the configurations

func (*Config) Crawl

func (cfg *Config) Crawl(URL string) ([]string, error)

Crawl to navigate to the URL & dump URLs on it

Jump to

Keyboard shortcuts

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