MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / ExampleAuthorized

Function ExampleAuthorized

pkg/auth/cluster/cluster_test.go:77–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75}
76
77func ExampleAuthorized() {
78 // Assume this comes from a hypothetical inter-cluster RPC call.
79 var ctx context.Context
80
81 if err := cluster.Authorized(ctx); err != nil {
82 // return err
83 }
84}

Callers

nothing calls this directly

Calls 1

AuthorizedFunction · 0.92

Tested by

no test coverage detected