storage

package
v0.0.0-...-354bb4a Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileProvider

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

func NewFileStorageProvider

func NewFileStorageProvider(c *config.Config) *FileProvider

func (*FileProvider) Close

func (f *FileProvider) Close() error

func (*FileProvider) SaveMessage

func (f *FileProvider) SaveMessage(event *events.PubEvent) error

type Provider

type Provider interface {
	SaveMessage(event *events.PubEvent) error
	Close() error
}

Jump to

Keyboard shortcuts

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