api

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2017 License: BSD-3-Clause Imports: 18 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 userservicesService.Context)

func (*Standard) GetVersion

func (s *Standard) GetVersion(serviceContext userservicesService.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