mocks

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFailingPublisher added in v0.40.0

func NewFailingPublisher() nats.Publisher

NewFailingPublisher returns a mock Publisher whose Publish always fails.

func NewPublisher added in v0.40.0

func NewPublisher() nats.Publisher

NewPublisher returns a mock Publisher that succeeds by default.

func NewRuleRepository

func NewRuleRepository() rules.Repository

NewRuleRepository creates in-memory rule repository used for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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