Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TemplateSet ¶
type TemplateSet struct {
// contains filtered or unexported fields
}
func (*TemplateSet) Read ¶
func (t *TemplateSet) Read(dir string) error
Read attempts to read recognized templates from within the given directory. Missing template files will be substituted with the defaults.
func (*TemplateSet) UseDefaults ¶
func (t *TemplateSet) UseDefaults()
UseDefaults resets the template set to its defaults.
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
func NewWriter ¶
func NewWriter(r *http.Request, w http.ResponseWriter, ts TemplateSet) *Writer
func (*Writer) WriteBoard ¶
func (w *Writer) WriteBoard(board tchan.BoardOverview) error
Click to show internal directories.
Click to hide internal directories.