mocks

package
v0.0.0-...-5d9960a Latest Latest
Warning

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

Go to latest
Published: May 15, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Provices mock objects until Square has their own api sandbox

Index

Constants

View Source
const (
	G = "GET"
	P = "POST"
	U = "PUT"
	D = "DELETE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Mock

type Mock struct {
	Server *httptest.Server
	Client *http.Client
	// contains filtered or unexported fields
}

func New

func New(mockFolder string) *Mock

func (*Mock) Init

func (this *Mock) Init()

Jump to

Keyboard shortcuts

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