local

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Local

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

func New

func New(dir string) *Local

func (*Local) Delete

func (l *Local) Delete(_ context.Context, uid string) error

func (*Local) Get

func (l *Local) Get(_ context.Context, uid string) (io.ReadCloser, error)

func (*Local) Set

func (l *Local) Set(_ context.Context, uid string, content io.Reader) error

Jump to

Keyboard shortcuts

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