handler

package
v0.0.0-...-5ed6c77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadPaste

func DownloadPaste(w http.ResponseWriter, r *http.Request, cfg *config.Config)

func UploadPaste

func UploadPaste(w http.ResponseWriter, r *http.Request, cfg *config.Config, ctx context.Context)

UploadPaste handles uploading a paste with expiration and content.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL