| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2025-04-08 | net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl | Brad Fitzpatrick | 1 | -0/+79 | |
| This adds netx.DialFunc, unifying a type we have a bazillion other places, giving it now a nice short name that's clickable in editors, etc. That highlighted that my earlier move (03b47a55c7956) of stuff from nettest into netx moved too much: it also dragged along the memnet impl, meaning all users of netx.DialFunc who just wanted netx for the type definition were instead also pulling in all of memnet. So move the memnet implementation netx.Network into memnet, a package we already had. Then use netx.DialFunc in a bunch of places. I'm sure I missed some. And plenty remain in other repos, to be updated later. Updates tailscale/corp#27636 Change-Id: I7296cd4591218e8624e214f8c70dab05fb884e95 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> | |||||
| 2023-08-28 | net/memnet: export the network name (#9111) | Joe Tsai | 1 | -1/+5 | |
| This makes it more maintainable for other code to statically depend on the exact value of this string. It also makes it easier to identify what code might depend on this string by looking up references to this constant. Updates tailscale/corp#13777 Signed-off-by: Joe Tsai <joetsai@digital-static.net> | |||||
| 2023-06-12 | net/memnet: add optional Listener.NewConn config knob | Brad Fitzpatrick | 1 | -1/+12 | |
| Updates tailscale/corp#11620 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> | |||||
| 2023-01-30 | net/memnet: rename from net/nettest | Maisem Ali | 7 | -0/+622 | |
| This is just #cleanup to resolve a TODO Also add a package doc. Signed-off-by: Maisem Ali <maisem@tailscale.com> | |||||
