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

Merge branch 'fix_missing_net_listener' of https://github.com/mtojek/echo into mtojek-fix_missing_net_listener

This commit is contained in:
Vishal Rana
2016-03-18 08:36:08 -07:00
3 changed files with 32 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import (
"time"
"github.com/labstack/gommon/log"
"net"
)
type (
@ -137,6 +138,7 @@ type (
// Config defines engine configuration.
Config struct {
Address string // TCP address to listen on.
Listener net.Listener // Custom net.Listener for the HTTP server.
TLSCertfile string // TLS certificate file path.
TLSKeyfile string // TLS key file path.
ReadTimeout time.Duration // Maximum duration before timing out read of the request.