controllers

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiController added in v0.1.13

type ApiController struct {
	// contains filtered or unexported fields
}

func NewApiController added in v0.1.13

func NewApiController(dbConn *sql.DB, db *db.Queries) *ApiController

func (*ApiController) Stats added in v0.1.13

func (ctr *ApiController) Stats(ctx *gin.Context)

type PasteController

type PasteController struct {
	// contains filtered or unexported fields
}

func NewPasteController

func NewPasteController(dbConn *sql.DB, db *db.Queries) *PasteController

func (*PasteController) CreatePaste

func (ctr *PasteController) CreatePaste(ctx *gin.Context)

func (*PasteController) Home

func (ctr *PasteController) Home(ctx *gin.Context)

func (*PasteController) SearchPastes added in v0.1.11

func (ctr *PasteController) SearchPastes(ctx *gin.Context)

func (*PasteController) ViewPaste added in v0.1.6

func (ctr *PasteController) ViewPaste(ctx *gin.Context)

type WallsController added in v0.1.8

type WallsController struct {
	// contains filtered or unexported fields
}

func NewWallsController added in v0.1.8

func NewWallsController(db *db.Queries) *WallsController

func (*WallsController) CreateWall added in v0.1.8

func (ctr *WallsController) CreateWall(ctx *gin.Context)

func (*WallsController) ViewWall added in v0.1.8

func (ctr *WallsController) ViewWall(ctx *gin.Context)

Jump to

Keyboard shortcuts

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