aboutsummaryrefslogtreecommitdiff
path: root/page/main.go
blob: da7feec17cc7d98a7eec7a4626bbb7b014babe4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// The only purpose of this package is to define the Page interface
// that is used by the `http` package
package page

import (
	"io"
)

type Page interface {
	Render(io.Writer) error
	RebuildIndex() error
	SetVars(map[string]interface{})
}