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

Function ReadRootAuthentication

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

Source from the content-addressed store, hash-verified

28}
29
30func ReadRootAuthentication(msg *capnp.Message) (Authentication, error) {
31 root, err := msg.RootPtr()
32 return Authentication{root.Struct()}, err
33}
34
35func (s Authentication) String() string {
36 str, _ := text.Marshal(0xc082ef6e0d42ed1d, s.Struct)

Callers

nothing calls this directly

Calls 1

StructMethod · 0.45

Tested by

no test coverage detected