contentweb

package
v0.0.0-...-61c90a5 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlbumChoice

type AlbumChoice struct{ ID, Title string }

type FeedData

type FeedData struct {
	Posts     []FeedPost
	User      identity.User
	CSRFToken string
	Albums    []AlbumChoice
}

type FeedPost

type FeedPost struct {
	ID            string
	AuthorName    string
	AuthorInitial string
	Username      string
	Caption       string
	Visibility    string
	MediaID       string
	AltText       string
	DisplayDate   string
	AlbumID       string
	AlbumTitle    string
}

type Handler

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

func NewHandler

func NewHandler(contentService *content.Service, mediaService *media.Service, albumService *album.Service, templates *template.Template) *Handler

func (*Handler) Feed

func (h *Handler) Feed(w http.ResponseWriter, r *http.Request)

func (*Handler) Publish

func (h *Handler) Publish(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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