context

package
v1.29.0-mobile.10 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 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, permissionClient permission.Client,
	dataDeduplicatorFactory deduplicator.Factory,
	dataStoreDEPRECATED dataStoreDEPRECATED.Store, syncTaskStore syncTaskStore.Store, dataClient dataClient.Client, dataSourceClient dataSource.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, permissionClient permission.Client,
	dataDeduplicatorFactory deduplicator.Factory,
	dataStoreDEPRECATED dataStoreDEPRECATED.Store, syncTaskStore syncTaskStore.Store, dataClient dataClient.Client, dataSourceClient dataSource.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) DataSourceClient added in v1.29.0

func (s *Standard) DataSourceClient() dataSource.Client

func (*Standard) MetricClient

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

func (*Standard) PermissionClient added in v1.29.0

func (s *Standard) PermissionClient() permission.Client

func (*Standard) SyncTaskSession

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

Jump to

Keyboard shortcuts

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