api

package
v0.0.1-alpha.9 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 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(logger log.Logger, dataFactory data.Factory, dataStore store.Store, dataDeduplicatorFactory deduplicator.Factory, userServicesClient client.Client, versionReporter version.Reporter) (*Standard, error)

func (*Standard) GetStatus

func (s *Standard) GetStatus(response rest.ResponseWriter, request *rest.Request)

func (*Standard) GetVersion

func (s *Standard) GetVersion(response rest.ResponseWriter, request *rest.Request)

func (*Standard) Handler

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

type Status

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