leveldbstore

package
v0.0.0-...-05d0564 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLeveldbStore

func NewLeveldbStore(path string) (tus.Store, error)

Types

type LeveldbStore

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

func (*LeveldbStore) Close

func (s *LeveldbStore) Close()

func (*LeveldbStore) Delete

func (s *LeveldbStore) Delete(fingerprint string)

func (*LeveldbStore) Get

func (s *LeveldbStore) Get(fingerprint string) (string, bool)

func (*LeveldbStore) Set

func (s *LeveldbStore) Set(fingerprint, url string)

Jump to

Keyboard shortcuts

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