MCPcopy 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
31func WithAuth(auth tailnet.CoordinateeAuth) PeerOption {
32 return func(p *Peer) {
33 p.auth = auth
34 }
35}
36
37type Peer struct {
38 ctx context.Context

Callers 2

NewAgentFunction · 0.85
NewClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected