mem

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queues

type Queues struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func Singleton

func Singleton() *Queues

Singleton returns message queue

func (*Queues) Queue

func (m *Queues) Queue(resource *mbus.Resource) chan *mbus.Message

type Service

type Service struct{}

Service in memory service

func New

func New() *Service

New creates a new in memory service

func (*Service) Push

func (s *Service) Push(ctx context.Context, dest *mbus.Resource, message *mbus.Message) (*mbus.Confirmation, error)

Jump to

Keyboard shortcuts

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