mockserver

package
v0.0.0-...-135f7b3 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2014 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockServer

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

func MakeMockServer

func MakeMockServer(responses [][]byte, t *testing.T) *MockServer

func (*MockServer) Close

func (m *MockServer) Close() error

func (*MockServer) Read

func (m *MockServer) Read(p []byte) (n int, err error)

func (*MockServer) Write

func (m *MockServer) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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