Crate phd

source ·
Expand description

phd is a small, easy-to-use Gopher server that tries to make serving up a Gopher site quick and painless. Best used for local development or low traffic Gopher sites.


pub use crate::request::Request;


Cheesy way to easily wrap text in console colors. Example:
Gopher type “borrowed” from phetch.
A Request represents a Gopher request made by a client. phd can serve directory listings as Gopher Menus, plain text files as Text, binary files as downloads, Gophermap files as menus, or executable files as dynamic content.
A simple multi-threaded Gopher server.

Type Definitions

Alias for a generic Result type.