Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFileHandler ¶
func RegisterFileHandler(name string, f FileHandler)
RegisterFileHandler a new file handler. This will panic if the name is already registered.
func RegisterTemplater ¶
RegisterTemplater a new templater. This will panic if the name is already registered.
Types ¶
type FileHandler ¶
FileHandler returns an io.WriteCloser that will handle the details of writing to the given filename. The filename could respresent a resource, such as a database, or a file.
Click to show internal directories.
Click to hide internal directories.