multitenantStack/controllers/index.go

19 lines
340 B
Go
Raw Normal View History

2018-11-07 15:27:39 +00:00
package controllers
// IndexController operations for Index
type IndexController struct {
BaseController
}
// Get Index response for get
2018-11-07 15:27:39 +00:00
func (c *IndexController) Get() {
c.ServeJSONSuccess("multitenant API")
return
2018-11-07 15:27:39 +00:00
}
// Post Index response for post
2018-11-07 15:27:39 +00:00
func (c *IndexController) Post() {
c.ServeJSONSuccess("multitenant API")
return
2018-11-07 15:27:39 +00:00
}