Help us shape the future of Go! Take the 2026 Go Developer Survey

nop

package
v0.2.49 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MPL-2.0 Imports: 3 Imported by: 0

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