handler

package
Version: v0.0.0-...-a8baed5 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Beat

func Beat(requests *gin.Context)

func NotFoundHandler

func NotFoundHandler(requests *gin.Context)

func PermanentCreator

func PermanentCreator(requests *gin.Context)

PermanentCreator 创建一个永久的 Paste, key 是自增键

func Query

func Query(requests *gin.Context)

Query 访问未加密的 Paste, token 为 <Paste ID> 访问加密的 Paste, token 为 <Paste ID>,<Password>

func ReadOnceCreator

func ReadOnceCreator(requests *gin.Context)

ReadOnceCreator 创建一个阅后即焚的 Paste, key 是随机的

func TemporaryCreator

func TemporaryCreator(requests *gin.Context)

TemporaryCreator 创建一个阅后即焚的 Paste, key 是指定的

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL