fake

package
v0.1.1-0...-d2994ca Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeHTTPClient

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

func CreateFakeHTTPClient

func CreateFakeHTTPClient() *FakeHTTPClient

func (*FakeHTTPClient) Execute

func (self *FakeHTTPClient) Execute(request schmokin.Request) schmokin.Result

func (*FakeHTTPClient) Request

func (self *FakeHTTPClient) Request() schmokin.Request

type FakeRequestReader

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

func CreateFakeRequestReader

func CreateFakeRequestReader(data string) FakeRequestReader

func (FakeRequestReader) Read

func (self FakeRequestReader) Read() string

type RequestWithAssertions

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

func (RequestWithAssertions) IsOfType

func (self RequestWithAssertions) IsOfType(requestType string) bool

Jump to

Keyboard shortcuts

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