memory

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 5 Imported by: 1

Documentation

Overview

Package memory contains an in-memory implementation of a pub/sub queue.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, opts ...Option) pubsub.Queue

New creates a new pub/sub queue backed by in-memory channels.

Types

type Option

type Option = func(cfg *config)

func WithParallelism

func WithParallelism(parallelism int) Option

Jump to

Keyboard shortcuts

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