scenarios

package
v0.0.0-...-0bd687e Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyEndpoint = errors.New("empty endpoint")
)

Functions

func RegisterScenario

func RegisterScenario(ms JSONMockServer, s *scenariopb.Scenario) error

Types

type JSONMockServer

type JSONMockServer interface {
	RegisterJSONMockContent(method string, data []byte) error
	RegisterJSONMockStatus(method string, data []byte) error
}

Jump to

Keyboard shortcuts

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