Expand description
Rustypaste is a minimal file upload/pastebin service.
Modules§
- auth
- Auth handler.
- config
- Configuration file parser.
- file
- File metadata handler.
- header
- HTTP headers.
- middleware
- Custom middleware implementation.
- mime
- Media type handler.
- paste
- Storage handler.
- random
- Random URL generator.
- server
- Server routes.
- util
- Helper functions.
Constants§
- AUTH_
TOKENS_ FILE_ ENV - Environment variable for the path to a file containing multiple authentication token.
- AUTH_
TOKEN_ ENV - Environment variable for setting the authentication token.
- CONFIG_
ENV - Environment variable for setting the configuration file path.
- DELETE_
TOKENS_ FILE_ ENV - Environment variable for the path to a file containing multiple deletion token.
- DELETE_
TOKEN_ ENV - Environment variable for setting the deletion token.