Discover Packages
github.com/rpardini/tinkerbell-ipxedust
ihttp
package
Version:
v0.0.0-...-b1b25fa
Opens a new window with list of versions in this module.
Published: Dec 8, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package ihttp implements an HTTP server for iPXE binaries.
ListenAndServe is a patterned after http.ListenAndServe.
It listens on the TCP network address srv.Addr and then
calls ServeHTTP to handle requests on incoming connections.
ListenAndServe always returns a non-nil error. After Shutdown or Close,
the returned error is http.ErrServerClosed.
Serve is patterned after http.Serve.
It accepts incoming connections on the Listener conn and serves them
using the Server h.
Serve always returns a non-nil error and closes conn.
After Shutdown or Close, the returned error is http.ErrServerClosed.
Handler is the struct that implements the http.Handler interface.
func (Handler) Handle ¶
Handle handles GET and HEAD responses to HTTP requests.
Serves embedded iPXE binaries.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.