Reuse Ping function for DERP ping

This commit is contained in:
Juan Font
2023-04-23 11:41:23 +00:00
parent b40cf732d6
commit 510b5af4ed
3 changed files with 8 additions and 47 deletions

View File

@@ -25,7 +25,6 @@ type TailscaleClient interface {
WaitForLogout() error
WaitForPeers(expected int) error
Ping(hostnameOrIP string, opts ...tsic.PingOption) error
PingViaDERP(hostnameOrIP string, opts ...tsic.PingOption) error
Curl(url string, opts ...tsic.CurlOption) (string, error)
ID() string
}