MCPcopy Index your code
hub / github.com/coder/coder / Dispatch

Method Dispatch

coderd/webpush/webpush.go:469–471  ·  view source on GitHub ↗
(context.Context, uuid.UUID, codersdk.WebpushMessage)

Source from the content-addressed store, hash-verified

467}
468
469func (n *NoopWebpusher) Dispatch(context.Context, uuid.UUID, codersdk.WebpushMessage) error {
470 return xerrors.New(n.Msg)
471}
472
473func (n *NoopWebpusher) Test(context.Context, codersdk.WebpushSubscription) error {
474 return xerrors.New(n.Msg)

Callers 1

TestNoopWebpusherFunction · 0.95

Calls 1

NewMethod · 0.65

Tested by 1

TestNoopWebpusherFunction · 0.76