nop

package
v0.2.21 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: MPL-2.0 Imports: 3 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package nop is the disabled feed source + sink: the single-node default. Source yields no events (applier inert); Sink discards events (producer pump never starts). Together they make chassis behaviour identical to today when --feed-source=nop and --feed-sink=nop.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sink

type Sink struct{}

Sink is the no-op feed sink. It accepts events and discards them. Producers using the nop sink still get a non-error return so the pump can mark the outbox row "published" — but no other chassis will see the event. Useful only as a default for single-node deployments where the pump is gated off entirely (controlpublish checks --feed-sink != nop before starting).

func (Sink) Append

func (Sink) Name

func (Sink) Name() string

type Source

type Source struct{}

Source is the no-op feed source.

func (Source) Name

func (Source) Name() string

func (Source) Poll

Jump to

Keyboard shortcuts

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