func (c *RegistrationsController) Init(r *mux.Router) { r.HandleFunc("/api/registrations", c.Create).Methods("POST") }
func (c *ImagesController) Init(r *mux.Router) { r.HandleFunc("/{args:.*?}http{path:.*}", c.Get) }
func (c *SsoSessionsController) Init(r *mux.Router) { r.HandleFunc("/sso/login", c.Create).Methods("POST") }
func (c *HomeController) Init(r *mux.Router) { r.HandleFunc("/", c.Index) r.HandleFunc("/dashboard", c.Index) r.HandleFunc("/docs", c.Index) r.HandleFunc("/authdocs", c.Index) r.HandleFunc("/signup", c.Index) r.HandleFunc("/signin", c.Index) r.HandleFunc("/signout", c.Index) r.HandleFunc("/404", c.Index) }
func (c *AccountsController) Init(r *mux.Router) { r.HandleFunc("/api/account", c.Show).Methods("GET") r.HandleFunc("/api/account", c.Update).Methods("PATCH") }