2020-04-07 14:56:38 +00:00
|
|
|
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2021-08-05 22:42:39 +00:00
|
|
|
//go:build (go1.16 && ios) || (!go1.16 && darwin && !amd64)
|
2020-12-19 10:16:44 +00:00
|
|
|
// +build go1.16,ios !go1.16,darwin,!amd64
|
2020-04-07 14:56:38 +00:00
|
|
|
|
|
|
|
package portlist
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
|
|
|
const pollInterval = 9999 * time.Hour
|
|
|
|
|
|
|
|
func listPorts() (List, error) {
|
|
|
|
return nil, errors.New("not implemented")
|
|
|
|
}
|
|
|
|
|
|
|
|
func addProcesses(pl []Port) ([]Port, error) {
|
|
|
|
return nil, errors.New("not implemented")
|
|
|
|
}
|