Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostHandlers ¶
type PostHandlers struct {
// contains filtered or unexported fields
}
PostHandlers handles blog post requests
func NewPostHandlers ¶
func NewPostHandlers(loader *content.Loader) *PostHandlers
NewPostHandlers creates a new post handler
func (*PostHandlers) HandleIndex ¶
func (h *PostHandlers) HandleIndex(w http.ResponseWriter, r *http.Request)
HandleIndex handles the blog index page
func (*PostHandlers) HandlePagination ¶
func (h *PostHandlers) HandlePagination(w http.ResponseWriter, r *http.Request)
HandlePagination handles pagination requests (HTMX partial)
func (*PostHandlers) HandlePost ¶
func (h *PostHandlers) HandlePost(w http.ResponseWriter, r *http.Request)
HandlePost handles individual post requests
type SearchHandlers ¶
type SearchHandlers struct {
// contains filtered or unexported fields
}
SearchHandlers handles search requests
func NewSearchHandlers ¶
func NewSearchHandlers(loader *content.Loader, index *search.Index) *SearchHandlers
NewSearchHandlers creates a new search handler
func (*SearchHandlers) HandleSearch ¶
func (h *SearchHandlers) HandleSearch(w http.ResponseWriter, r *http.Request)
HandleSearch handles search requests (HTMX partial)
type TagHandlers ¶
type TagHandlers struct {
// contains filtered or unexported fields
}
TagHandlers handles tag-related requests
func NewTagHandlers ¶
func NewTagHandlers(loader *content.Loader) *TagHandlers
NewTagHandlers creates a new tag handler
func (*TagHandlers) HandleTag ¶
func (h *TagHandlers) HandleTag(w http.ResponseWriter, r *http.Request)
HandleTag handles tag page requests
func (*TagHandlers) HandleTagList ¶
func (h *TagHandlers) HandleTagList(w http.ResponseWriter, r *http.Request)
HandleTagList handles tag list requests (HTMX partial)
Click to show internal directories.
Click to hide internal directories.