mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-28 13:48:49 +08:00
22 lines
439 B
Go
22 lines
439 B
Go
/**
|
|
* Copyright (c) Mainflux
|
|
*
|
|
* Mainflux server is licensed under an Apache license, version 2.0.
|
|
* All rights not explicitly granted in the Apache license, version 2.0 are reserved.
|
|
* See the included LICENSE file for more details.
|
|
*/
|
|
package controllers
|
|
|
|
import (
|
|
"github.com/kataras/iris"
|
|
)
|
|
|
|
/** == Functions == */
|
|
|
|
/**
|
|
* getStatus()
|
|
*/
|
|
func GetStatus(ctx *iris.Context) {
|
|
ctx.JSON(iris.StatusOK, iris.Map{"status": "OK"})
|
|
}
|