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

Method Handler

pkg/auth/rights/mock_test.go:33–39  ·  view source on GitHub ↗
(ctx context.Context, req any)

Source from the content-addressed store, hash-verified

31}
32
33func (h *mockHandler) Handler(ctx context.Context, req any) (any, error) {
34 h.ctx, h.req = ctx, req
35 if h.call != nil {
36 h.call(ctx, req)
37 }
38 return h.res, h.err
39}
40
41type mockFetcher struct {
42 // Request vars

Callers 11

RegisterRoutesMethod · 0.80
StartMethod · 0.80
initACMEMethod · 0.80
GetHandlerMethod · 0.80
RegisterRoutesMethod · 0.80
NewServerFunction · 0.80
RegisterRoutesMethod · 0.80
NewFunction · 0.80
PrefixWithRedirectMethod · 0.80
RegisterRoutesMethod · 0.80
handleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected