server

package
v0.0.0-...-a2809ff Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProfileArgsFromRequest

func ProfileArgsFromRequest(r *http.Request) (args *profileArgs, err error)

Types

type Server

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

func NewServer

func NewServer(address, assetsDirectory string) (server *Server, err error)

func (*Server) Close

func (s *Server) Close() (err error)

func (*Server) HandleFlamegraph

func (s *Server) HandleFlamegraph(w http.ResponseWriter, r *http.Request)

func (*Server) HandleProfile

func (s *Server) HandleProfile(w http.ResponseWriter, r *http.Request)

func (*Server) Listen

func (s *Server) Listen() (err error)

Jump to

Keyboard shortcuts

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