mirror of
https://github.com/tailscale/tailscale.git
synced 2024-12-11 10:44:41 +00:00
18 lines
366 B
Go
18 lines
366 B
Go
|
// Copyright (c) 2021 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.
|
||
|
|
||
|
package portlist
|
||
|
|
||
|
import "time"
|
||
|
|
||
|
const pollInterval = 365 * 24 * time.Hour
|
||
|
|
||
|
func listPorts() (List, error) {
|
||
|
return nil, nil
|
||
|
}
|
||
|
|
||
|
func addProcesses(pl []Port) ([]Port, error) {
|
||
|
return pl, nil
|
||
|
}
|