toget

package module
v0.0.0-...-58f11c5 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2014 License: MIT Imports: 4 Imported by: 1

README

toget

a timeout layer on top of net/http client basic functionality

import "github.com/jasonmoo/toget"

resp, err = toget.Get("https://www.google.com", time.Millisecond)
if err != TimeoutError {
	log.Println("You got some fast internets!")
}
Docs

http://godoc.org/github.com/jasonmoo/toget

Jump to

Keyboard shortcuts

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