context

package
v1.24.0-basal-automated.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: BSD-3-Clause Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContext

func WithContext(authClient auth.Client, metricClient metric.Client, userClient user.Client,
	dataFactory data.Factory, dataDeduplicatorFactory deduplicator.Factory, dataStore dataStore.Store,
	dataStoreDEPRECATED dataStoreDEPRECATED.Store, syncTaskStore syncTaskStore.Store, dataClient dataClient.Client, handler dataService.HandlerFunc) rest.HandlerFunc

Types

type Standard

type Standard struct {
	*serviceContext.Responder
	// contains filtered or unexported fields
}

func NewStandard

func NewStandard(response rest.ResponseWriter, request *rest.Request,
	authClient auth.Client, metricClient metric.Client, userClient user.Client,
	dataFactory data.Factory, dataDeduplicatorFactory deduplicator.Factory, dataStore dataStore.Store,
	dataStoreDEPRECATED dataStoreDEPRECATED.Store, syncTaskStore syncTaskStore.Store, dataClient dataClient.Client) (*Standard, error)

func (*Standard) AuthClient

func (s *Standard) AuthClient() auth.Client

func (*Standard) Close

func (s *Standard) Close()

func (*Standard) DataClient

func (s *Standard) DataClient() dataClient.Client

func (*Standard) DataDeduplicatorFactory

func (s *Standard) DataDeduplicatorFactory() deduplicator.Factory

func (*Standard) DataFactory

func (s *Standard) DataFactory() data.Factory

func (*Standard) DataSession

func (s *Standard) DataSession() dataStoreDEPRECATED.DataSession

func (*Standard) MetricClient

func (s *Standard) MetricClient() metric.Client

func (*Standard) SyncTaskSession

func (s *Standard) SyncTaskSession() syncTaskStore.SyncTaskSession

func (*Standard) UserClient

func (s *Standard) UserClient() user.Client

Jump to

Keyboard shortcuts

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