tag

package
v0.0.0-...-88bf645 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ItemPerPage = 40
)

Variables

This section is empty.

Functions

func SetFavoriteHandler

func SetFavoriteHandler(w http.ResponseWriter, r *http.Request, params httprouter.Params)

func TagListHandler

func TagListHandler(w http.ResponseWriter, r *http.Request, params httprouter.Params)

func ThumbnailHandler

func ThumbnailHandler(w http.ResponseWriter, r *http.Request, params httprouter.Params)

Types

type ItemData

type ItemData struct {
	ID           uint64
	Name         string
	Favorite     bool
	URL          string
	ThumbnailURL string
}

type PageData

type PageData struct {
	Title      string
	Version    string
	BrowseURL  string
	TagListURL string
	Tags       []ItemData
}

Jump to

Keyboard shortcuts

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