// Route traffic and implement the Router interface.
Route traffic and implement the Router interface.
// Route traffic and implement the Router interface .
func (h *Handler) Route(r api.Router) {
	getLink := h.Auth.GetLinkExplicit
	r.MethodFunc(http.MethodGet, getLink("{provisionerID}", false, nil), h.lookupProvisioner(h.Get))
	r.MethodFunc(http.MethodPost, getLink("{provisionerID}", false, nil), h.lookupProvisioner(h.Post))
}
func ( h * Handler ) Route ( r api . Router ) { getLink := h . Auth . GetLinkExplicit r . MethodFunc ( http . MethodGet , getLink ( " " , false , nil ) , h . lookupProvisioner ( h . Get ) ) r . MethodFunc ( http . MethodPost , getLink ( " " , false , nil ) , h . lookupProvisioner ( h . Post ) ) }
Route traffic and implement the Router interface.
Route traffic and implement the Router interface .