http

package
v0.0.0-...-dba4764 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2015 License: MIT Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultUserAgent = "Mozilla/5.0 UserBehavior"

Functions

This section is empty.

Types

type UserBehavior

type UserBehavior struct {
	// contains filtered or unexported fields
}

func NewUserBehavior

func NewUserBehavior() *UserBehavior

func (*UserBehavior) Behave

func (u *UserBehavior) Behave(urlStr string) (*http.Response, error)

func (*UserBehavior) Get

func (u *UserBehavior) Get(urlStr string) (*http.Response, error)

func (*UserBehavior) Header

func (u *UserBehavior) Header(key, value string)

func (*UserBehavior) Post

func (u *UserBehavior) Post(urlStr string) (*http.Response, error)

Jump to

Keyboard shortcuts

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