service

package
v0.0.0-...-acd8c0a Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2016 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StreamService

type StreamService interface {

	//Add will add the content items to the embedded stream id
	Add(items []model.StreamItem) error

	//Remove will remove the content items from the embedded stream id
	Remove(items []model.StreamItem) error

	//Load will pull a coalesced view of the streams in the query
	Load(query model.StreamQuery, limit int, fromSlug string) (*model.StreamQueryResponse, error)
}

StreamService is the interface to the underlying stream storage system.

func NewRoshiStreamService

func NewRoshiStreamService(urlString string, timeout time.Duration) (StreamService, error)

NewRoshiStreamService takes a url for the roshi server and returns the service

Jump to

Keyboard shortcuts

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