noop

package
v0.8.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNoopStores

func NewNoopStores() store.StoreProvider

Types

type PBQNoOpStore

type PBQNoOpStore struct {
}

PBQNoOpStore is a no-op pbq store which does not do any operation but can be safely invoked.

func NewPBQNoOpStore

func NewPBQNoOpStore() (*PBQNoOpStore, error)

func (*PBQNoOpStore) Close

func (p *PBQNoOpStore) Close() error

func (*PBQNoOpStore) Read

func (p *PBQNoOpStore) Read(size int64) ([]*isb.ReadMessage, bool, error)

func (*PBQNoOpStore) Write

func (p *PBQNoOpStore) Write(msg *isb.ReadMessage) error

Jump to

Keyboard shortcuts

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