roundtrip

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultClient = &http.Client{}
View Source
var MTLSClient *http.Client = nil

Functions

func HandleRequest

func HandleRequest(protoReq *proto.Request) *proto.Response

HandleRequest handles a request from the repeater server

It MUST always return an HTTP response, even if there is an error

  • Read request or `499 Unparsable request`
  • Send request or `599 API down`
  • Parse response or `598 API unresponsive`

Types

This section is empty.

Jump to

Keyboard shortcuts

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