repository

package
v0.0.0-...-c2c271f Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrKeyNotFound        = errors.New("Cannot find the given key in the bucket.")
	ErrUnexpectedSiblings = errors.New("Unexpected siblings in response!")
)

Functions

This section is empty.

Types

type Repository

type Repository interface {
	Get(key string, notFoundOk bool) (model.Model, error)
	Save(model.Model) (model.Model, error)
	// contains filtered or unexported methods
}

type UrlInfo

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

func NewUrlInfo

func NewUrlInfo(c database.RiakCluster) *UrlInfo

func (*UrlInfo) Get

func (rpo *UrlInfo) Get(key string, notFoundOk bool) (model.Model, error)

func (*UrlInfo) Save

func (rpo *UrlInfo) Save(mdl model.Model) (model.Model, error)

Jump to

Keyboard shortcuts

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