all: replace tailcfg.DiscoKey with key.DiscoPublic.

Signed-off-by: David Anderson <[email protected]>
This commit is contained in:
David Anderson committed 2021-11-02 14:55:25 -07:00
1 parent 17b5782b3a
commit 4a51050c49
16 files changed
+51 -95

No files matched your search

+2 -2
View File
@@ -60,7 +60,7 @@ type Direct struct {
keepAlive bool
logf logger.Logf
linkMon *monitor.Mon // or nil
discoPubKey tailcfg.DiscoKey
discoPubKey key.DiscoPublic
getMachinePrivKey func() (key.MachinePrivate, error)
debugFlags []string
keepSharerAndUserSplit bool
@@ -88,7 +88,7 @@ type Options struct {
AuthKey string // optional node auth key for auto registration
TimeNow func() time.Time // time.Now implementation used by Client
Hostinfo *tailcfg.Hostinfo // non-nil passes ownership, nil means to use default using os.Hostname, etc
DiscoPublicKey tailcfg.DiscoKey
DiscoPublicKey key.DiscoPublic
NewDecompressor func() (Decompressor, error)
KeepAlive bool
Logf logger.Logf