Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ NewRouter
Function
NewRouter
vpn/router.go:10–12 ·
view source on GitHub ↗
(t *Tunnel)
Source
from the content-addressed store, hash-verified
8
)
9
10
func
NewRouter(t *Tunnel) router.Router {
11
return
&vpnRouter{tunnel: t}
12
}
13
14
type
vpnRouter
struct
{
15
tunnel *Tunnel
Callers
1
GetNetworkingStack
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected