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:
@ -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.
|
||||
|
Reference in New Issue
Block a user