withfallback

package
v0.0.0-...-cdef871 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvelopeStorage

type EnvelopeStorage struct {
	storage.EnvelopeStorage
	// contains filtered or unexported fields
}

func NewEnvelopeStorage

func NewEnvelopeStorage(
	primary, fallback storage.EnvelopeStorage,
) EnvelopeStorage

func (EnvelopeStorage) GetEventTypes

func (s EnvelopeStorage) GetEventTypes(id api.UUID) ([]string, bool)

func (EnvelopeStorage) Purge

func (s EnvelopeStorage) Purge(filter storage.EnvelopeFilter)

func (EnvelopeStorage) ReadEnvelope

func (s EnvelopeStorage) ReadEnvelope(
	id api.UUID, position storage.EnvelopeReadPos, maxsize int,
) (api.Envelope, storage.EnvelopeReadPos, error)

func (EnvelopeStorage) ReceptionStatus

func (EnvelopeStorage) Stat

Jump to

Keyboard shortcuts

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