multitenantStack/controllers/index.go

17 lines
324 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")
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")
2018-11-07 15:27:39 +00:00
}