package
0.0.0-20241104101831-1454e04fdb07
Repository: https://github.com/kairos-io/netboot.git
Documentation: pkg.go.dev

# Functions

ConstantHandler returns a Handler that serves bs for all requested paths.
FilesystemHandler returns a Handler that serves files in root.

# Constants

DefaultBlockSize is the maximum block size used to send data to clients.
DefaultWriteAttempts is the maximum number of times a single packet will be (re)sent before timing out a client.
DefaultWriteTimeout is the duration a client has to acknowledge a data packet from the server.

# Structs

A Server defines parameters for running a TFTP server.

# Type aliases

A Handler provides bytes for a file.