v1

package
v0.0.2-0...-b38e615 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

implements the v1 centralbooking api

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CentralBooking

type CentralBooking struct {
	// contains filtered or unexported fields
}

func NewCentralBooking

func NewCentralBooking(registrar *instance.Registrar, catalog interfaces.ConsulCatalog, vaultEndpoint string) *CentralBooking

returns a new CentralBooking instance

func (*CentralBooking) CheckHealth

func (self *CentralBooking) CheckHealth(resp http.ResponseWriter, req *http.Request)

func (*CentralBooking) InstallHandlers

func (self *CentralBooking) InstallHandlers(router *mux.Router)

install handlers into the provided router

func (*CentralBooking) RegisterInstance

func (self *CentralBooking) RegisterInstance(resp http.ResponseWriter, req *http.Request)

returns the index view

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL