handlers

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetailsHandler

type DetailsHandler struct {
	DB *sql.DB
}

func (*DetailsHandler) ActiveMenuItem

func (h *DetailsHandler) ActiveMenuItem() components.MenuItem

func (*DetailsHandler) Route

func (h *DetailsHandler) Route() (string, string)

func (*DetailsHandler) Template

func (h *DetailsHandler) Template() string

func (*DetailsHandler) View

func (h *DetailsHandler) View(ctx *gin.Context) (string, interface{}, error)

type ListHandler

type ListHandler struct {
	DB *sql.DB
}

func (*ListHandler) ActiveMenuItem

func (h *ListHandler) ActiveMenuItem() components.MenuItem

func (*ListHandler) Route

func (h *ListHandler) Route() (string, string)

func (*ListHandler) Template

func (h *ListHandler) Template() string

func (*ListHandler) View

func (h *ListHandler) View(ctx *gin.Context) (string, interface{}, error)

Jump to

Keyboard shortcuts

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