mirror of
https://github.com/mmatczuk/go-http-tunnel.git
synced 2026-05-15 14:16:17 -06:00
14 lines
369 B
Go
14 lines
369 B
Go
// Copyright (C) 2017 Michał Matczuk
|
|
// Use of this source code is governed by an AGPL-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package tunnel
|
|
|
|
import "time"
|
|
|
|
var (
|
|
// DefaultTimeout specifies a general purpose timeout.
|
|
DefaultTimeout = 10 * time.Second
|
|
// DefaultPingTimeout specifies a ping timeout.
|
|
DefaultPingTimeout = 500 * time.Millisecond
|
|
)
|