persistence

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Persistence

type Persistence interface {
	Init(context.Context) error
	Read(context.Context) (PublicShares, error)
	Write(context.Context, PublicShares) error
}

Persistence defines the interface for the json publicshare manager persistence layers

type PublicShares

type PublicShares map[string]interface{}

PublicShares is a map indexing publicshares by their ids

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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