grape

package
v0.0.0-...-2a2ecc6 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

grape is a web scraper in go

Use short declarations for urls, go routines. a, b, c := "https://ryemiller.io", "https://golang.org", "https://golang.org/doc" grape.ResponseBody() go grape.ResponseSize(a) go grape.ResponseSize(b) go grape.ResponseSize(c) time.Sleep(5 * time.Second)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResponseBody

func ResponseBody()

func ResponseSize

func ResponseSize(url string, channel chan Page)

Types

type Page

type Page struct {
	URL  string
	Size int
}

Jump to

Keyboard shortcuts

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