multi

package
v0.0.0-...-e4c6d64 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2015 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

a store that writes to multiple backing stores

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct{}

func (Backend) Open

func (b Backend) Open(u *url.URL) (storage.Store, error)

type Store

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

func (*Store) Close

func (s *Store) Close() error

func (*Store) Create

func (s *Store) Create(p post.Post) error

func (*Store) Delete

func (s *Store) Delete(id string) error

func (*Store) Find

func (s *Store) Find(q query.Query) ([]post.Post, error)

func (*Store) FindAll

func (s *Store) FindAll() ([]post.Post, error)

func (*Store) FindById

func (s *Store) FindById(id string) (*post.Post, error)

func (*Store) Update

func (s *Store) Update(p post.Post) error

Jump to

Keyboard shortcuts

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