// Install adds the Openstack webservice to the given mux
Install adds the Openstack webservice to the given mux
// Install adds the Openstack webservice to the given mux
func (o Openstack) Install(c *mux.PathRecorderMux) {
	c.HandleFunc(OPENSTACK_SERVERS_PATH, o.serverHandler)
	c.HandlePrefix(OPENSTACK_SERVERS_PATH+"/", http.HandlerFunc(o.serverHandler))
	c.HandleFunc(OPENSTACK_FLAVORS_PATH, o.flavorHandler)
	c.HandlePrefix(OPENSTACK_FLAVORS_PATH+"/", http.HandlerFunc(o.flavorHandler))
	c.HandleFunc(OPENSTACK_IMAGES_PATH, o.imageHandler)
	c.HandlePrefix(OPENSTACK_IMAGES_PATH+"/", http.HandlerFunc(o.imageHandler))
}
func ( o Openstack ) Install ( c * mux . PathRecorderMux ) { c . HandleFunc ( OPENSTACK_SERVERS_PATH , o . serverHandler ) c . HandlePrefix ( OPENSTACK_SERVERS_PATH + " " , http . HandlerFunc ( o . serverHandler ) ) c . HandleFunc ( OPENSTACK_FLAVORS_PATH , o . flavorHandler ) c . HandlePrefix ( OPENSTACK_FLAVORS_PATH + " " , http . HandlerFunc ( o . flavorHandler ) ) c . HandleFunc ( OPENSTACK_IMAGES_PATH , o . imageHandler ) c . HandlePrefix ( OPENSTACK_IMAGES_PATH + " " , http . HandlerFunc ( o . imageHandler ) ) }
Install adds the Openstack webservice to the given mux
Install adds the Openstack webservice to the given mux