internal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APITestRequestSpec

type APITestRequestSpec struct {
	Method string     `json:"method"`
	Query  url.Values `json:"query,omitempty"`
	Body   []byte     `json:"body,omitempty"`
}

type APITestResponseSpec

type APITestResponseSpec struct {
	Code   int         `json:"code"`
	Header http.Header `json:"headers"`
	Body   interface{} `json:"body"`
}

type APITestSpec

type APITestSpec struct {
	Filename string              `json:"filename"`
	Endpoint string              `json:"path"`
	Request  APITestRequestSpec  `json:"request"`
	Response APITestResponseSpec `json:"response"`
}

Jump to

Keyboard shortcuts

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