context

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2018 License: BSD-2-Clause Imports: 13 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,
	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,
	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) 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