api

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2017 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Standard

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

func NewStandard

func NewStandard(versionReporter version.Reporter, environmentReporter environment.Reporter, logger log.Logger,
	metricServicesClient metricservicesClient.Client, userServicesClient userservicesClient.Client,
	dataFactory data.Factory, dataDeduplicatorFactory deduplicator.Factory,
	dataStore dataStore.Store, taskStore taskStore.Store) (*Standard, error)

func (*Standard) GetStatus

func (s *Standard) GetStatus(serviceContext service.Context)

func (*Standard) GetVersion

func (s *Standard) GetVersion(serviceContext service.Context)

func (*Standard) InitializeRouter added in v1.0.0

func (s *Standard) InitializeRouter(routes []service.Route) error

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