dummy

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

type Publisher struct{}

Publisher dummy implementation

func (Publisher) Close

func (pub Publisher) Close() error

Close dummy publisher

func (Publisher) Publish

func (pub Publisher) Publish(ctx context.Context, messages ...any) error

Publish messages for dummy space

type Subscriber

type Subscriber struct{}

Subscriber struct

func (Subscriber) Close

func (e Subscriber) Close() error

Close proxy handler

func (Subscriber) Listen

func (e Subscriber) Listen(ctx context.Context) error

Listen process

func (Subscriber) Subscribe

func (e Subscriber) Subscribe(ctx context.Context, r nc.Receiver) error

Subscribe new handler

Jump to

Keyboard shortcuts

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