noop

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBidirectionalEventStream

func NewBidirectionalEventStream() eventstream.BidirectionalEventStream

NewBidirectionalEventStream returns a no-op BidirectionalEventStream.

func NewBidirectionalEventStreamUpgrader

func NewBidirectionalEventStreamUpgrader() eventstream.BidirectionalEventStreamUpgrader

NewBidirectionalEventStreamUpgrader returns a no-op BidirectionalEventStreamUpgrader.

func NewEventStream

func NewEventStream() eventstream.EventStream

NewEventStream returns a no-op EventStream.

func NewEventStreamUpgrader

func NewEventStreamUpgrader() eventstream.EventStreamUpgrader

NewEventStreamUpgrader returns a no-op EventStreamUpgrader.

Types

type BidirectionalEventStream

type BidirectionalEventStream struct {
	EventStream
	// contains filtered or unexported fields
}

BidirectionalEventStream is a no-op BidirectionalEventStream.

func (*BidirectionalEventStream) Receive

func (s *BidirectionalEventStream) Receive() <-chan *eventstream.Event

Receive returns a channel that never delivers events.

type BidirectionalEventStreamUpgrader

type BidirectionalEventStreamUpgrader struct{}

BidirectionalEventStreamUpgrader is a no-op BidirectionalEventStreamUpgrader.

func (*BidirectionalEventStreamUpgrader) UpgradeToBidirectionalStream

UpgradeToBidirectionalStream returns a no-op BidirectionalEventStream.

type EventStream

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

EventStream is a no-op EventStream.

func (*EventStream) Close

func (s *EventStream) Close() error

Close closes the done channel.

func (*EventStream) Done

func (s *EventStream) Done() <-chan struct{}

Done returns a channel that closes when Close is called.

func (*EventStream) Send

Send is a no-op.

type EventStreamUpgrader

type EventStreamUpgrader struct{}

EventStreamUpgrader is a no-op EventStreamUpgrader.

func (*EventStreamUpgrader) UpgradeToEventStream

UpgradeToEventStream returns a no-op EventStream.

Jump to

Keyboard shortcuts

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