17 lines
324 B
Go
17 lines
324 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")
|
|
}
|
|
|
|
// Post Index response for post
|
|
func (c *IndexController) Post() {
|
|
c.ServeJSONSuccess("multitenant API")
|
|
}
|