wip
This commit is contained in:
14
internal/shadowsocks/noop.go
Normal file
14
internal/shadowsocks/noop.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package shadowsocks
|
||||
|
||||
import "context"
|
||||
|
||||
type noopService struct{}
|
||||
|
||||
func (n *noopService) Start(_ context.Context) (
|
||||
runError <-chan error, err error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func (n *noopService) Stop() (err error) {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user