Package styxserver implements a main loop for running a 9P server.

The styxserver.Serve function takes as an argument a type that implements a callback for each type of 9P message available. It is the value's responsibility to respond to each message appropriately, and the Serve function will handle parsing of incoming messages, flushing of outgoing messages, and other bookkeeping such as handling cancellations via Tflush requests.

Imports 2 package(s) ΒΆ