comment

package
v0.0.0-...-fed9169 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryMiddleware

func QueryMiddleware(db database.Querier) echo.MiddlewareFunc

Types

type Controller

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

func NewController

func NewController(db database.Querier) *Controller

func (*Controller) Create

func (ctrl *Controller) Create(c echo.Context) error

func (*Controller) Delete

func (ctrl *Controller) Delete(c echo.Context) error

func (*Controller) Get

func (ctrl *Controller) Get(c echo.Context) error

func (*Controller) ListByComment

func (ctrl *Controller) ListByComment(c echo.Context) error

func (*Controller) ListByPost

func (ctrl *Controller) ListByPost(c echo.Context) error

func (*Controller) Update

func (ctrl *Controller) Update(c echo.Context) error

func (*Controller) Vote

func (ctrl *Controller) Vote(c echo.Context) error

Jump to

Keyboard shortcuts

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