View Source API Reference Spaceboy v0.3.2

Modules

Struct representing Spaceboy connection (request) roughly equivalent to Plug.Conn

A struct used as default on unfetched fields.

Controllers group common functionality and are pointed to by routers.

Struct representing Gemini header response.

Spaceboy server middleware, roughly similar to Plugs plug

Example middleware which provides simple logging for processed request.

A plug for generating a unique request id for each request.

A plug to instrument the server with :telemetry events.

Raised when attempted to do action which is not supported by Gemini specs

Utility functions to ease the work with Peer Certificates

Controller handling robots.txt file generation

Router implementation for Spaceboy server.

Main configuration for your Spaceboy server. Roughly equivalent to Phoenix.Endpoint

Check if the request received is according to specification.

Controller handling static files rendering

Mix Tasks

Generates self-signed certificate for localhost and saves it at priv/ssl/

Starts the configured Gemini server