add custom secret field support

This commit is contained in:
Boshi Lian 2022-11-05 05:56:45 +00:00
parent 61fce7bcd9
commit a3b3caaf6d
7 changed files with 96 additions and 5 deletions

View file

@ -91,7 +91,7 @@ func DialForSSH(addr string) (net.Conn, error) {
return net.Dial("tcp", addr)
}
func CreateNoneAuth(password []byte) *Upstream_None {
func CreateNoneAuth() *Upstream_None {
return &Upstream_None{
None: &UpstreamNoneAuth{},
}