api

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2017 License: BSD-3-Clause Imports: 17 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, dataServicesClient dataservicesClient.Client,
	messageStore messageStore.Store, notificationStore notificationStore.Store, permissionStore permissionStore.Store,
	profileStore profileStore.Store, sessionStore sessionStore.Store, userStore userStore.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

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

type Status

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