server

package
v0.0.0-...-281ba74 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConnContextKey = &contextKey{"http-conn"}

Functions

func StartServer

func StartServer()

StartServer Starts the Gateway server

func StopServer

func StopServer()

StopServer Stops the HTTP server

Types

type PingResponse

type PingResponse struct {
	SourceIP  string    `json:"source_ip"`
	LatencyMS int64     `json:"latency_ms"`
	Time      time.Time `json:"time"`
}

Jump to

Keyboard shortcuts

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