mocks

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package mocks provides useful mocks for testing different command controller features.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

type Notifier struct {
	NotifyFunc func(topic string, message []byte) error
}

Notifier is mock implementation of notifier.

func NewMockNotifier

func NewMockNotifier() *Notifier

NewMockNotifier returns mock notifier implementation.

func (*Notifier) Notify

func (n *Notifier) Notify(topic string, message []byte) error

Notify is mock implementation of notifier Notify().

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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