Log stderr stream from shadowsocks

This commit is contained in:
Quentin McGaw
2020-04-14 12:22:14 +00:00
parent 58459f0336
commit 422bd8d428
3 changed files with 7 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ import (
type Configurator interface {
Version() (string, error)
MakeConf(port uint16, password, method string, uid, gid int) (err error)
Start(server string, port uint16, password string, log bool) (stdout io.ReadCloser, waitFn func() error, err error)
Start(server string, port uint16, password string, log bool) (stdout, stderr io.ReadCloser, waitFn func() error, err error)
}
type configurator struct {