imgs

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Space = "imgs"

Functions

func FindImgPost added in v1.10.0

func FindImgPost(r *http.Request, user *db.User, slug string) (*db.Post, error)

func ImgRequest added in v1.10.0

func ImgRequest(w http.ResponseWriter, r *http.Request)

func ImgsListHandler added in v1.11.0

func ImgsListHandler(w http.ResponseWriter, r *http.Request)

func ImgsRssHandler added in v1.11.0

func ImgsRssHandler(w http.ResponseWriter, r *http.Request)

func NewConfigSite

func NewConfigSite() *shared.ConfigSite

func StartApiServer

func StartApiServer()

Types

type BlogPageData

type BlogPageData struct {
	Site      *shared.SitePageData
	PageTitle string
	URL       template.URL
	Username  string
	Posts     []template.URL
}

type PostPageData

type PostPageData struct {
	ImgURL template.URL
}

Jump to

Keyboard shortcuts

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