Movatterモバイル変換


[0]ホーム

URL:


notificationstest

package
v2.23.1Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2025 License:AGPL-3.0Imports:9Imported by:0

Details

Repository

github.com/coder/coder

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcWithTemplateIDadded inv2.19.0

func WithTemplateID(iduuid.UUID) func(*FakeNotification)bool

Types

typeFakeEnqueuer

type FakeEnqueuer struct {// contains filtered or unexported fields}

funcNewFakeEnqueueradded inv2.22.0

func NewFakeEnqueuer() *FakeEnqueuer

func (*FakeEnqueuer)Clear

func (f *FakeEnqueuer) Clear()

func (*FakeEnqueuer)Enqueue

func (f *FakeEnqueuer) Enqueue(ctxcontext.Context, userID, templateIDuuid.UUID, labels map[string]string, createdBystring, targets ...uuid.UUID) ([]uuid.UUID,error)

func (*FakeEnqueuer)EnqueueWithData

func (f *FakeEnqueuer) EnqueueWithData(ctxcontext.Context, userID, templateIDuuid.UUID, labels map[string]string, data map[string]any, createdBystring, targets ...uuid.UUID) ([]uuid.UUID,error)

func (*FakeEnqueuer)Sent

func (f *FakeEnqueuer) Sent(matchers ...func(*FakeNotification)bool) []*FakeNotification

typeFakeNotification

type FakeNotification struct {UserID, TemplateIDuuid.UUIDLabels             map[string]stringData               map[string]anyCreatedBystringTargets            []uuid.UUID}

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp