top

package
v0.0.0-...-3185076 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(configPath string)

func Setup

func Setup() *cobra.Command

Types

type Config

type Config struct {
	Port       int
	JaegerURL  string
	MiddleHost string
	MiddlePort int
}

type Top

type Top struct {
}

func NewTop

func NewTop() *Top

func (*Top) Error

func (s *Top) Error(w http.ResponseWriter, r *http.Request, err error, statusCode int)

func (*Top) NotFound

func (s *Top) NotFound(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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