MCPcopy Create free account
hub / github.com/danderson/netboot / serveHTTP

Method serveHTTP

pixiecore/http.go:41–45  ·  view source on GitHub ↗
(mux *http.ServeMux)

Source from the content-addressed store, hash-verified

39}
40
41func (s *Server) serveHTTP(mux *http.ServeMux) {
42 mux.HandleFunc("/_/ipxe", s.handleIpxe)
43 mux.HandleFunc("/_/file", s.handleFile)
44 mux.HandleFunc("/_/booting", s.handleBooting)
45}
46
47func (s *Server) handleIpxe(w http.ResponseWriter, r *http.Request) {
48 overallStart := time.Now()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected