Documentation ¶
Index ¶
- func HTTPBooterMux(listenAddr net.TCPAddr, ds datasource.DataSource, webPort int) (*http.ServeMux, error)
- func ReplyPXE(p *PXEPacket) []byte
- func ServeHTTPBooter(listenAddr net.TCPAddr, ds datasource.DataSource, webPort int) error
- func ServePXE(listenAddr net.UDPAddr, serverIP net.IP, httpAddr net.TCPAddr) error
- func ServeTFTP(listenAddr net.UDPAddr) error
- type DHCPPacket
- type HTTPBooter
- type PXEPacket
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPBooterMux ¶
func HTTPBooterMux(listenAddr net.TCPAddr, ds datasource.DataSource, webPort int) (*http.ServeMux, error)
func ServeHTTPBooter ¶
func ServeHTTPBooter(listenAddr net.TCPAddr, ds datasource.DataSource, webPort int) error
Types ¶
type DHCPPacket ¶
type HTTPBooter ¶
type HTTPBooter struct {
// contains filtered or unexported fields
}
func NewHTTPBooter ¶
func NewHTTPBooter(listenAddr net.TCPAddr, ldlinux []byte, ds datasource.DataSource, webPort int) (*HTTPBooter, error)
func (*HTTPBooter) Mux ¶
func (b *HTTPBooter) Mux() *http.ServeMux
Click to show internal directories.
Click to hide internal directories.