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: 4 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) CreatePaste

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

CreatePaste creates a new paste and writes back its ID in response

Jump to

Keyboard shortcuts

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