Documentation ¶
Index ¶
Constants ¶
View Source
const ( NO_TRANSFORM = iota MARKDOWN_TRANSFORM = iota REDIRECT_TRANSFORM = iota )
View Source
const (
PS = string(os.PathSeparator)
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Host ¶
type Host struct { // Host name Name string // Main directory DocumentRoot string // Main path Path string // Settings Settings *yaml.Yaml // Templates (not fully functional yet) Templates map[string]*template.Template // Function map for templates. template.FuncMap // Standard request. *http.Request // Standard response writer. http.ResponseWriter // File watcher //Watcher *fsnotify.Watcher Watcher *watcher.Watcher // Template root TemplateRoot string // contains filtered or unexported fields }
Virtual host that serves document of a given directory.
Click to show internal directories.
Click to hide internal directories.