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
Click to show internal directories.
Click to hide internal directories.