api

package
v1.32.2 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: BSD-2-Clause Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Standard

type Standard struct {
	*api.API
	// contains filtered or unexported fields
}

func NewStandard

func NewStandard(svc service.Service, 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) DEPRECATEDInitializeRouter

func (s *Standard) DEPRECATEDInitializeRouter(routes []dataService.Route) error

func (*Standard) StatusGet

func (s *Standard) StatusGet(dataServiceContext dataService.Context)

func (*Standard) VersionGet

func (s *Standard) VersionGet(dataServiceContext dataService.Context)

type Status

type Status struct {
	Version     string
	Environment string
	DataStore   interface{}
	Server      interface{}
}

type Version

type Version struct {
	Version string `json:"version"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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