local

package
v0.0.0-...-b92c3bc Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobStore

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

func NewBlobStore

func NewBlobStore(dir string) (*BlobStore, error)

func (*BlobStore) Create

func (s *BlobStore) Create(ctx context.Context, name string) (storage.BlobWriter, error)

func (*BlobStore) Open

func (s *BlobStore) Open(name string) (storage.BlobReader, error)

func (*BlobStore) Remove

func (s *BlobStore) Remove(name string) error

type LogStore

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

func NewLogStore

func NewLogStore(dir string) (*LogStore, error)

func (*LogStore) Create

func (s *LogStore) Create(name string) (storage.LogWriter, error)

func (*LogStore) Open

func (s *LogStore) Open(name string) (storage.LogReader, error)

func (*LogStore) Remove

func (s *LogStore) Remove(name string) error

Jump to

Keyboard shortcuts

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