notifiermock

package
v0.36.4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotifierClientMock

type NotifierClientMock struct {
	SentNotifications []string
}

func (*NotifierClientMock) Reset

func (n *NotifierClientMock) Reset()

func (*NotifierClientMock) Send

func (n *NotifierClientMock) Send(ctx context.Context, notification openapi.Notification)

func (*NotifierClientMock) Setup

func (n *NotifierClientMock) Setup(clientIdentifier string, url string) error

func (*NotifierClientMock) ToJson added in v0.35.0

func (n *NotifierClientMock) ToJson(notification openapi.Notification) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL