improve ss
This commit is contained in:
15
pkg/dialer/tcp/metadata.go
Normal file
15
pkg/dialer/tcp/metadata.go
Normal file
@ -0,0 +1,15 @@
|
||||
package tcp
|
||||
|
||||
import "time"
|
||||
|
||||
const (
|
||||
dialTimeout = "dialTimeout"
|
||||
)
|
||||
|
||||
const (
|
||||
defaultDialTimeout = 5 * time.Second
|
||||
)
|
||||
|
||||
type metadata struct {
|
||||
dialTimeout time.Duration
|
||||
}
|
Reference in New Issue
Block a user