types

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EchoResponse

type EchoResponse struct {
	Instance string               `json:"instance"`
	Received EchoResponseReceived `json:"received"`
}

type EchoResponseReceived

type EchoResponseReceived struct {
	// StatusCode is the HTTP response code. The echo server never
	// emits this, but it can be fabricated by curl output formatting.
	StatusCode int                 `json:"status,omitempty"`
	Method     string              `json:"method"`
	Path       string              `json:"path"`
	Headers    map[string][]string `json:"headers"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳