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

Function registerRightsFetch

pkg/auth/rights/metrics.go:69–71  ·  view source on GitHub ↗
(ctx context.Context, entity string, rights *ttnpb.Rights, err error)

Source from the content-addressed store, hash-verified

67}
68
69func registerRightsFetch(ctx context.Context, entity string, rights *ttnpb.Rights, err error) {
70 registerEntityRights(ctx, rightsFetches, entity, rights, err)
71}
72
73func registerAuthInfo(ctx context.Context, c *metrics.ContextualCounterVec, authInfo *ttnpb.AuthInfoResponse, err error) {
74 switch {

Callers 10

ApplicationRightsMethod · 0.85
ClientRightsMethod · 0.85
GatewayRightsMethod · 0.85
OrganizationRightsMethod · 0.85
UserRightsMethod · 0.85
ApplicationRightsMethod · 0.85
ClientRightsMethod · 0.85
GatewayRightsMethod · 0.85
OrganizationRightsMethod · 0.85
UserRightsMethod · 0.85

Calls 1

registerEntityRightsFunction · 0.85

Tested by

no test coverage detected