getpocket: github.com/Shaked/getpocket/utils Index | Files

package utils

import "github.com/Shaked/getpocket/utils"

Index

Package Files

error.go utils.go

type HttpRequest Uses

type HttpRequest interface {
    Post(url string, values url.Values) ([]byte, *RequestError)
}

type Request Uses

type Request struct{}

func NewRequest Uses

func NewRequest() *Request

func (*Request) Post Uses

func (ur *Request) Post(url string, values url.Values) ([]byte, *RequestError)

type RequestError Uses

type RequestError struct {
    RequesterError
    // contains filtered or unexported fields
}

func NewRequestError Uses

func NewRequestError(xErrorCode int, xErrorText error) *RequestError

func (*RequestError) Error Uses

func (e *RequestError) Error() string

func (*RequestError) ErrorCode Uses

func (e *RequestError) ErrorCode() int

type RequesterError Uses

type RequesterError interface {
    ErrorCode() int
}

Package utils imports 6 packages (graph) and is imported by 2 packages. Updated 2016-07-16. Refresh now. Tools for package owners.