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.

Re-exports§

pub use crate::request::Request;

Modules§

color
Cheesy way to easily wrap text in console colors. Example:
gopher
Gopher type “borrowed” from phetch.
request
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.
server
A simple multi-threaded Gopher server.

Type Aliases§

Result
Alias for a generic Result type.