handler

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MicrodemoCall

func MicrodemoCall(service web.Service) func(http.ResponseWriter, *http.Request)

Types

type DemoCallResponse

type DemoCallResponse struct {
	RequestDetails RequestDetails `json:"request_details"`
	ServiceDetails ServiceDetails `json:"service_details"`
}

type RequestDetails

type RequestDetails struct {
	Method   string `json:"method"`
	SourceIP string `json:"source_ip"`
}

type ServiceDetails

type ServiceDetails struct {
	ServiceName string `json:"service_name"`
	Version     string `json:"version"`
}

Jump to

Keyboard shortcuts

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