notify

package
v0.0.0-...-890f6be Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package notify is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNotifier

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

MockNotifier is a mock of Notifier interface.

func NewMockNotifier

func NewMockNotifier(ctrl *gomock.Controller) *MockNotifier

NewMockNotifier creates a new mock instance.

func (*MockNotifier) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNotifier) SendText

func (m *MockNotifier) SendText(ctx contextx.Contextx, message string) error

SendText mocks base method.

type MockNotifierMockRecorder

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

MockNotifierMockRecorder is the mock recorder for MockNotifier.

func (*MockNotifierMockRecorder) SendText

func (mr *MockNotifierMockRecorder) SendText(ctx, message interface{}) *gomock.Call

SendText indicates an expected call of SendText.

type Notifier

type Notifier interface {
	SendText(ctx contextx.Contextx, message string) error
}

Notifier is an interface for sending notifications.

func NewLineNotifier

func NewLineNotifier() (Notifier, error)

NewLineNotifier creates a new Notifier that sends notifications to a LINE group.

Jump to

Keyboard shortcuts

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