1
0
mirror of https://github.com/labstack/echo.git synced 2025-07-17 01:43:02 +02:00

Updated godoc

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2016-03-22 22:56:29 -05:00
parent f091ccc9fc
commit 910315ec5f
4 changed files with 20 additions and 19 deletions

View File

@ -12,14 +12,14 @@ type (
// StaticConfig defines config for static middleware.
StaticConfig struct {
// Root is the directory from where the static content is served.
Root string `json:"root"`
Root string `json:"root"` // Required
// Index is the index file to be used while serving a directory.
// Default is `index.html`.
Index string `json:"index"`
Index string `json:"index"` // Optional
// Browse is the flag to list directory or not. Default is false.
Browse bool `json:"browse"`
// Browse is a flag to list directory or not.
Browse bool `json:"browse"` // Optional
}
)