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.
# Type aliases
A Handler provides bytes for a file.