replay

package
v0.0.0-...-8868a4c Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Details

type Details struct {
	Method  string            `json:"method"`
	Url     string            `json:"url"`
	Body    string            `json:"body"`
	Headers map[string]string `json:"headers"`
}

type Response

type Response struct {
	Success      bool        `json:"status"`
	Data         interface{} `json:"data"`
	ErrorMessage string      `json:"errorMessage"`
}

func ExecuteRequest

func ExecuteRequest(replayData *Details, timeout time.Duration) *Response

Jump to

Keyboard shortcuts

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