Documentation ¶
Index ¶
Constants ¶
This section is empty.
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 }
Host is the struct that represents virtual hosts.
Click to show internal directories.
Click to hide internal directories.