mq

package
v0.0.0-...-c45e23a Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MQ

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

func New

func New(ctx context.Context, uri string, root string, maxPending int, db *dao.DB) (*MQ, error)

func (*MQ) Close

func (mq *MQ) Close()

func (*MQ) Done

func (mq *MQ) Done() <-chan struct{}

func (*MQ) SnapsDone

func (mq *MQ) SnapsDone() <-chan struct{}

func (*MQ) StartSchemaAPI

func (mq *MQ) StartSchemaAPI() error

func (*MQ) StartSchemaStream

func (mq *MQ) StartSchemaStream(stream <-chan creek.SchemaMsg) *SchemaStream

func (*MQ) StartSnapshotAPI

func (mq *MQ) StartSnapshotAPI() error

func (*MQ) StartWalStream

func (mq *MQ) StartWalStream(stream <-chan creek.WAL) *WalStream

type SchemaStream

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

func (*SchemaStream) Done

func (s *SchemaStream) Done() <-chan struct{}

type WalStream

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

func (*WalStream) Done

func (w *WalStream) Done() <-chan struct{}

Jump to

Keyboard shortcuts

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