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 the HTTP server for the traceroute API
func NewServer ¶
func NewServer() *Server
NewServer creates a new HTTP server with an initialized Traceroute instance
func (*Server) TracerouteHandler ¶
func (s *Server) TracerouteHandler(w http.ResponseWriter, r *http.Request)
TracerouteHandler handles GET /traceroute requests
Click to show internal directories.
Click to hide internal directories.