home

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: 6 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(service forum.Service) (*Controller, error)

func (Controller) Index

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

type IndexData

type IndexData struct {
	Title  string
	Forums []forum.Forum
	Crumbs []helpers.Crumb
}

IndexData is the template data for the home index page

Jump to

Keyboard shortcuts

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