api

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2016 License: BSD-3-Clause Imports: 13 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 {
	// contains filtered or unexported fields
}

func NewStandard

func NewStandard(versionReporter version.Reporter, environmentReporter environment.Reporter, logger log.Logger, dataFactory data.Factory, dataStore store.Store, dataDeduplicatorFactory deduplicator.Factory, userServicesClient client.Client, routes []service.Route) (*Standard, error)

func (*Standard) GetStatus

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

func (*Standard) GetVersion

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

func (*Standard) Handler

func (s *Standard) Handler() http.Handler

type Status

type Status struct {
	Version     string
	Environment string
	Store       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