caddy/config/setup/bindhost.go
2015-05-04 22:58:08 -07:00

13 lines
217 B
Go

package setup
import "github.com/mholt/caddy/middleware"
func BindHost(c *Controller) (middleware.Middleware, error) {
for c.Next() {
if !c.Args(&c.BindHost) {
return nil, c.ArgErr()
}
}
return nil, nil
}