service

package
v0.0.0-...-15d396f Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2017 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const RepositoryStatsKind = "RepositoryStats"

Variables

This section is empty.

Functions

This section is empty.

Types

type CuratedService

type CuratedService struct {
	Context context.Context
	// contains filtered or unexported fields
}

func (*CuratedService) GetAll

func (self *CuratedService) GetAll() ([]byte, error)

type LoadService

type LoadService struct {
	Context context.Context
}

func (*LoadService) Put

func (self *LoadService) Put(entity *model.RepositoryStats) (*datastore.Key, error)

func (*LoadService) PutMulti

func (self *LoadService) PutMulti(entities []*model.RepositoryStats) ([]*datastore.Key, error)

func (*LoadService) ReceiveTask

func (self *LoadService) ReceiveTask(payload string, entitiesPerTask int) ([]*datastore.Key, error)

func (*LoadService) SendTask

func (self *LoadService) SendTask(elements []string) error

type StatsService

type StatsService struct {
	Context context.Context
}

func (*StatsService) GetRepository

func (self *StatsService) GetRepository(repositoryName string) (*model.RepositoryStats, error)

Jump to

Keyboard shortcuts

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