httplib: github.com/hoisie/httplib Index | Files

package httplib

import "github.com/hoisie/httplib"

Index

Package Files

httplib.go

type Client Uses

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

type HttpRequestBuilder Uses

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

func Delete Uses

func Delete(url string) *HttpRequestBuilder

func Get Uses

func Get(url string) *HttpRequestBuilder

func Post Uses

func Post(url string) *HttpRequestBuilder

func Put Uses

func Put(url string) *HttpRequestBuilder

func (*HttpRequestBuilder) AsBytes Uses

func (b *HttpRequestBuilder) AsBytes() ([]byte, error)

func (*HttpRequestBuilder) AsFile Uses

func (b *HttpRequestBuilder) AsFile(filename string) error

func (*HttpRequestBuilder) AsResponse Uses

func (b *HttpRequestBuilder) AsResponse() (*http.Response, error)

func (*HttpRequestBuilder) AsString Uses

func (b *HttpRequestBuilder) AsString() (string, error)

func (*HttpRequestBuilder) Body Uses

func (b *HttpRequestBuilder) Body(data interface{}) *HttpRequestBuilder

func (*HttpRequestBuilder) Close Uses

func (b *HttpRequestBuilder) Close()

func (*HttpRequestBuilder) Header Uses

func (b *HttpRequestBuilder) Header(key, value string) *HttpRequestBuilder

func (*HttpRequestBuilder) Param Uses

func (b *HttpRequestBuilder) Param(key, value string) *HttpRequestBuilder

Package httplib imports 10 packages (graph). Updated 2016-07-16. Refresh now. Tools for package owners.