// ServeHTTP as passed into the notfoundhandler.
ServeHTTP as passed into the notfoundhandler.
// ServeHTTP as passed into the notfoundhandler .
func (m *Milo) ServeHTTP(w http.ResponseWriter, r *http.Request) {
	m.logger.Log("404 - Route not found.  " + r.RequestURI)
	if m.notFoundHandler == nil {
		w.WriteHeader(http.StatusNotFound)
		w.Write([]byte("404 - MILO: Route not found."))
	} else {
		m.notFoundHandler(w, r)
	}
}
func ( m * Milo ) ServeHTTP ( w http . ResponseWriter , r * http . Request ) { m . logger . Log ( " " + r . RequestURI ) if m . notFoundHandler == nil { w . WriteHeader ( http . StatusNotFound ) w . Write ( [ ] byte ( " " ) ) } else { m . notFoundHandler ( w , r ) } }
ServeHTTP as passed into the notfoundhandler.
ServeHTTP as passed into the notfoundhandler .