topic

package
v0.0.0-...-61222a5 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func ProvideController

func ProvideController(fs forum.Service, ts topic.Service, ps post.Service) (*Controller, error)

func (Controller) Show

func (c Controller) Show(w http.ResponseWriter, r *http.Request)

type IndexData

type IndexData struct {
	Title  string
	Topic  topic.Topic
	Posts  []post.Post
	Crumbs []helpers.Crumb
}

IndexData is the template data for the forum index page

Jump to

Keyboard shortcuts

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