MCPcopy Index your code
hub / github.com/coder/coder / GetPeerUpdate

Method GetPeerUpdate

vpn/vpn.pb.go:516–521  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

514}
515
516func (x *TunnelMessage) GetPeerUpdate() *PeerUpdate {
517 if x, ok := x.GetMsg().(*TunnelMessage_PeerUpdate); ok {
518 return x.PeerUpdate
519 }
520 return nil
521}
522
523func (x *TunnelMessage) GetNetworkSettings() *NetworkSettingsRequest {
524 if x, ok := x.GetMsg().(*TunnelMessage_NetworkSettings); ok {

Callers 1

TestTunnel_PeerUpdateFunction · 0.95

Calls 1

GetMsgMethod · 0.95

Tested by 1

TestTunnel_PeerUpdateFunction · 0.76