gallery

package
v0.0.0-...-1bee8d1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const PerPage = 10

Variables

This section is empty.

Functions

This section is empty.

Types

type Gallery struct {
	DB *gorm.DB
	// contains filtered or unexported fields
}

func New

func New() *Gallery

func (*Gallery) Configure

func (c *Gallery) Configure(app gongo.App) error

func (*Gallery) ListHandler

func (c *Gallery) ListHandler(w http.ResponseWriter, r *http.Request)

func (*Gallery) ServeMux

func (c *Gallery) ServeMux() http.Handler

func (*Gallery) ViewHandler

func (c *Gallery) ViewHandler(w http.ResponseWriter, r *http.Request)

type GalleryEntry

type GalleryEntry struct {
	ID    string
	Title string
}

Jump to

Keyboard shortcuts

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