handlers

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	HandlerEnv *models.HandlerEnv
}

func NewHandler

func NewHandler(db *gorm.DB) Handler

func (*Handler) DeletePaste

func (h *Handler) DeletePaste(c *gin.Context)

DeletePaste deletes a paste with the ID given as paramter

Jump to

Keyboard shortcuts

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