MCPcopy Create free account
hub / github.com/GoogleChrome/webstatus.dev / withAuthMiddleware

Function withAuthMiddleware

backend/pkg/httpserver/server_test.go:1342–1346  ·  view source on GitHub ↗
(middleware func(http.Handler) http.Handler)

Source from the content-addressed store, hash-verified

1340 if mockCacher != nil {
1341 mockCacher.AssertExpectations()
1342 }
1343}
1344
1345//nolint:ireturn
1346func getCreateNotificationChannelRequestCmpOption() cmp.Option {
1347 return cmp.Transformer("NotificationChannelConfig",
1348 func(in backend.CreateNotificationChannelRequest_Config) map[string]any {
1349 var out map[string]any

Calls

no outgoing calls

Tested by

no test coverage detected