mock

package
v2.14.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(t *testing.T, requests []ExpectedRequest) *httptest.Server

New returns an instance of the mock OneLogin indetity provider.

Types

type ExpectedRequest

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

ExpectedRequest represents a request that the mock identity provider expects and its predefined response.

Jump to

Keyboard shortcuts

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