MCPcopy
hub / github.com/cloudflare/cloudflared / ReadRootTunnelRegistration

Function ReadRootTunnelRegistration

tunnelrpc/proto/tunnelrpc.capnp.go:138–141  ·  view source on GitHub ↗
(msg *capnp.Message)

Source from the content-addressed store, hash-verified

136}
137
138func ReadRootTunnelRegistration(msg *capnp.Message) (TunnelRegistration, error) {
139 root, err := msg.RootPtr()
140 return TunnelRegistration{root.Struct()}, err
141}
142
143func (s TunnelRegistration) String() string {
144 str, _ := text.Marshal(0xf41a0f001ad49e46, s.Struct)

Callers

nothing calls this directly

Calls 1

StructMethod · 0.45

Tested by

no test coverage detected