| Age | Commit message (Collapse) | Author | Files | Lines |
|
This reverts commit b81bd8025b71f35295201d18011855c1cfae630e.
Not needed. See:
https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
|
|
So we can empty import the guts of cmd/tailscaled from another
module for go mod tidy reasons.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
|
Logic was backwards, introduced in earlier monitor refactoring last
week in e3df29d488f5ce50e.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
|
Gets it out of wgengine so the Engine isn't responsible for being a
callback registration hub for it.
This also removes the Engine.LinkChange method, as it's no longer
necessary. The monitor tells us about changes; it doesn't seem to
need any help. (Currently it was only used by Swift, but as of
14dc79013754fe we just do the same from Go)
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
|
Currently it assumes exactly 1 registered callback. This changes it to
support 0, 1, or more than 1.
This is a step towards plumbing wgengine/monitor into more places (and
moving some of wgengine's interface state fetching into monitor in a
later step)
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
|
Tangentially related to #987, #177, #594, #925, #505
|
|
Work on reducing the size of the tailscale binary, which is
currently pulling in most of the same code as tailscaled.
Updates #1181
|