Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/tailscale/tailscale
/ newFakeOSRouter
Function
newFakeOSRouter
wgengine/userspace_ext_test.go:91–93 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
89
}
90
91
func
newFakeOSRouter() router.Router {
92
return
someRandoOSRouter{router.NewFake(logger.Discard)}
93
}
94
95
type
someRandoOSRouter
struct
{
96
router.Router
Callers
1
TestIsNetstackRouter
Function · 0.85
Calls
1
NewFake
Function · 0.92
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…