aboutsummaryrefslogtreecommitdiff
path: root/forged/internal/incoming/web/handlers/index.go
blob: 1fd295446de0b5434a4e47dcd7f32cdab9f22f03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

package handlers

import (
	"net/http"

	wtypes "go.lindenii.runxiyu.org/forge/forged/internal/incoming/web/types"
)

type IndexHTTP struct{}

func NewIndexHTTP() *IndexHTTP { return &IndexHTTP{} }

func (h *IndexHTTP) Index(w http.ResponseWriter, _ *http.Request, _ wtypes.Vars) {
	_, _ = w.Write([]byte("index: replace with template render"))
}