Crate pastebin [] [src]

A Pastebin server library.

This library implements a very simple pastebin service, which is basically a web-interface between a user and a database (be it MongoDB, or hash table, or MariaDB, or anything else). The library is database-agnostic, which means a database wrapper has to be implemented for a desired DB kind my implementing a quite simple interface DbInterface.

Iron is used as a web-backend, so all its features could be utilized (at least theoretically). The actual code is in the web module, useful examples are also there.

Modules

web

Module that deals with a web server.

Traits

DbInterface

Interface to a database.