queue

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EgressQueue

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

func NewEgressQueue

func NewEgressQueue(max_size uint) *EgressQueue

func (*EgressQueue) Enqueue

func (registry *EgressQueue) Enqueue(ctx context.Context, payload []byte) error

func (*EgressQueue) Next

func (registry *EgressQueue) Next(ctx context.Context) ([]byte, error)

type IngressQueue

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

func NewIngressQueue

func NewIngressQueue(max_size uint) *IngressQueue

func (*IngressQueue) Enqueue

func (registry *IngressQueue) Enqueue(ctx context.Context, msg app.Message) error

func (*IngressQueue) Next

func (registry *IngressQueue) Next(ctx context.Context) (app.Message, error)

Jump to

Keyboard shortcuts

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