Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 1.22 KB

README.md

File metadata and controls

25 lines (13 loc) · 1.22 KB

Gemini

Gemini protocol and Titan protocol GO package for the server using net/http style API.

The package was created after attempt to use a couple of existing libraries for the server side and not finding those satisfactory in terms of exposed API.

The package follows core design pattern used in standard net/http package. API correlation made it possible to adapt julienschmidt/httprouter package to GEMINI protocol in geminirouter package.

Titan protocol tested with Lagrange browser.

Current implementation is server focused and does not provide API to send requests to GEMINI server.

At the server level library implements GEMINI and TITAN protocols including support for Client certificates.

Example Server

To run server one needs to generate appropriate server certificate.

Run example server:

make run

Known Issues

getRequest function reading request bytes is functional, but seems to be ineficient.