Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultLiveReloadConfig = LiveReloadConfig{ Skipper: middleware.DefaultSkipper, Name: os.Args[0], Dir: "assets", } )
Functions ¶
func LiveReload ¶
func LiveReload() echo.MiddlewareFunc
func LiveReloadWithConfig ¶
func LiveReloadWithConfig(config LiveReloadConfig) echo.MiddlewareFunc
Types ¶
type LiveReloadConfig ¶
type LiveReloadConfig struct { // Skipper defines a function to skip middleware. Skipper middleware.Skipper Name string Dir string // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.