improve ss
This commit is contained in:
21
pkg/connector/ss/metadata.go
Normal file
21
pkg/connector/ss/metadata.go
Normal file
@ -0,0 +1,21 @@
|
||||
package ss
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/shadowsocks/go-shadowsocks2/core"
|
||||
)
|
||||
|
||||
const (
|
||||
method = "method"
|
||||
password = "password"
|
||||
key = "key"
|
||||
connectTimeout = "timeout"
|
||||
noDelay = "noDelay"
|
||||
)
|
||||
|
||||
type metadata struct {
|
||||
cipher core.Cipher
|
||||
connectTimeout time.Duration
|
||||
noDelay bool
|
||||
}
|
Reference in New Issue
Block a user