Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePaste ¶
func CreatePaste(c echo.Context) (err error)
CreatePaste ... Insert into Postgres with our Request Body
func DeleteExpired ¶
func DeleteExpired()
DeleteExpired ... Infinite loop Goroutine that auto deletes expired pastes
func GetLanguages ¶
func GetLanguages(c echo.Context) (err error)
GetLanguages ... Get all of the supported languages
func GetPaste ¶
func GetPaste(c echo.Context) (err error)
GetPaste ... Get a paste where ID equals Req Query Params and Is Not Expired
func GetRawPaste ¶
func GetRawPaste(c echo.Context) (err error)
GetRawPaste ... Get a paste in Plaintext
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.