debug

package
v2.12.3 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server is a HTTP server for debugging.

func NewServer

func NewServer() Server

NewServer creates new HTTP server for debugging.

func (*Server) Start

func (s *Server) Start(addr string) error

Start debug server.

func (*Server) Stop

func (s *Server) Stop(ctx context.Context) error

Stop debug server.

Jump to

Keyboard shortcuts

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