allrecipes

package
v0.0.0-...-3cbc7d6 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cache repo.LocalCache) repo.Repository

Types

type Entry

type Entry struct {
	Title       string
	Description string
	URL         string
}

type Repository

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

func (*Repository) Get

func (r *Repository) Get(ctx context.Context, url string) ([]*schema.Recipe, error)

func (*Repository) Refresh

func (r *Repository) Refresh(ctx context.Context) error

func (*Repository) Search

func (r *Repository) Search(ctx context.Context, term string, opt repo.SearchOptions) ([]*repo.RecipeLink, error)

Jump to

Keyboard shortcuts

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