storage

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileStorage

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

func (*FileStorage) List

func (s *FileStorage) List(ctx context.Context) ([]v1alpha1.Message, error)

func (*FileStorage) Start

func (s *FileStorage) Start(ctx context.Context) error

type Manager

type Manager interface {
	Start(ctx context.Context) error
	List(ctx context.Context) ([]v1alpha1.Message, error)
}

func New

func New(name string) (Manager, error)

func NewStorage

func NewStorage() (Manager, error)

Jump to

Keyboard shortcuts

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