repo

package
v0.0.0-...-a57c2c0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBadID = errors.New("repo: invalid document ID")

Functions

This section is empty.

Types

type Repo

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

func New

func New() *Repo

func (*Repo) Get

func (r *Repo) Get(id string) (*hub.Doc, error)

func (*Repo) Put

func (r *Repo) Put(id string, doc *hub.Doc) error

Jump to

Keyboard shortcuts

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