server

package
v1.6.5 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: GPL-3.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(listenAddr string) error

Run starts the Gin HTTP server that exposes the traceroute UI and APIs.

func RunWithOptions added in v1.6.5

func RunWithOptions(opts Options, onReady func(net.Addr)) error

func RunWithReady added in v1.6.4

func RunWithReady(listenAddr string, onReady func(net.Addr)) error

RunWithReady starts the Gin HTTP server and invokes onReady after the listener has been successfully bound.

Types

type Options added in v1.6.5

type Options struct {
	ListenAddr  string
	EnableMCP   bool
	AuthEnabled bool
	DeployToken string
}

Jump to

Keyboard shortcuts

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