debug

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2018 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CLIPort is the CLI port.
	CLIPort = "51515"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server provides a debug server receiving line based commands from a CLI via the debugging port and executing those on the Status API using reflection. The returned values will be rendered as string and returned to the CLI.

func New

func New(statusBackend *api.StatusBackend, port string) (*Server, error)

New creates a debug server using the passed Status API. It also starts the server.

Jump to

Keyboard shortcuts

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