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