messaging

package
v0.0.0-...-d807b53 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseShimer

type BaseShimer struct {
	//Bbolt *bbolt.DB
	Shimer
}

func NewBaseShimer

func NewBaseShimer(shimer Shimer) *BaseShimer

func (*BaseShimer) Consuming

func (b *BaseShimer) Consuming(ctx context.Context) error

func (*BaseShimer) Pinging

func (b *BaseShimer) Pinging(ctx context.Context) error

func (*BaseShimer) Run

func (b *BaseShimer) Run(ctx context.Context) error

type Shimer

type Shimer interface {
	Listening(ctx context.Context) error
	MessageChan() <-chan string
	Ack(msg string) error
}

Directories

Path Synopsis
shim

Jump to

Keyboard shortcuts

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