service

package
v0.0.0-...-b93a6bd Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package service contains functions and assertions for interacting with services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matcher

type Matcher matcher.Matcher

Matcher is an alias to should.Matcher.

func ResponseEqual

func ResponseEqual(success bool, expectedResults interface{}) Matcher

ResponseEqual returns a matcher that checks whenever a code service response succeeded with the expected results.

func ResponseError

func ResponseError(expectedResults interface{}) Matcher

ResponseError returns a matcher that checks whenever a code service response was an error.

func ResponseSuccess

func ResponseSuccess(expectedResults interface{}) Matcher

ResponseSuccess returns a matcher that checks whenever a code service response was successful.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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