source

package
v0.0.0-...-e31f9e3 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2016 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager is the object to manage all the sources

func NewManager

func NewManager(mockMode bool, githubUsername string) (*Manager, error)

NewManager returns a new Manager Object

func (*Manager) GetSources

func (m *Manager) GetSources() []Source

GetSources returns all the sources registered to manager

type Source

type Source interface {
	FetchFromOrigin(vendorID string, beginTime time.Time) ([]common.Record, error)
	GetHostName() string
}

Source is the interface, represents a vendor

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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