mock

package
v0.0.0-...-b41f800 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ACCESS_TOKEN = "abc123"

Variables

This section is empty.

Functions

This section is empty.

Types

type MockServer

type MockServer struct {
	Server *httptest.Server
	// contains filtered or unexported fields
}

func NewMockServer

func NewMockServer() *MockServer

func (*MockServer) Client

func (m *MockServer) Client() *http.Client

func (*MockServer) Close

func (m *MockServer) Close()

Jump to

Keyboard shortcuts

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