Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ WithAuth
Function
WithAuth
tailnet/test/peer.go:31–35 ·
view source on GitHub ↗
(auth tailnet.CoordinateeAuth)
Source
from the content-addressed store, hash-verified
29
}
30
31
func
WithAuth(auth tailnet.CoordinateeAuth) PeerOption {
32
return
func
(p *Peer) {
33
p.auth = auth
34
}
35
}
36
37
type
Peer
struct
{
38
ctx context.Context
Callers
2
NewAgent
Function · 0.85
NewClient
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected