multitenantStack/controllers/index.go

19 lines
340 B
Go

package controllers
// IndexController operations for Index
type IndexController struct {
BaseController
}
// Get Index response for get
func (c *IndexController) Get() {
c.ServeJSONSuccess("multitenant API")
return
}
// Post Index response for post
func (c *IndexController) Post() {
c.ServeJSONSuccess("multitenant API")
return
}