galery

package module
v0.0.0-...-c4ff044 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2017 License: GPL-3.0 Imports: 6 Imported by: 0

README

Uploads photos from a folder to s3 and index it in algolia

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pipe

type Pipe struct {
	UploaderBuilder s3.ClientBuilder
	SearchClient    algolia.AlgoliaClient
	BuildURLs       func(string) map[string]string
}

func (*Pipe) Entry

func (p *Pipe) Entry(metadata *metadata.Metadata) *entry

func (*Pipe) Index

func (p *Pipe) Index(e *entry) *entry

func (*Pipe) Upload

func (p *Pipe) Upload(e *entry) *entry

Directories

Path Synopsis
imgix
url

Jump to

Keyboard shortcuts

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