Initial commit.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package httpserver
|
||||
|
||||
import "net/http"
|
||||
|
||||
func (h *httpServer) defaultHandler(w http.ResponseWriter, _ *http.Request) {
|
||||
w.WriteHeader(http.StatusNotFound)
|
||||
_, _ = w.Write([]byte("Unknown path."))
|
||||
}
|
||||
Reference in New Issue
Block a user