Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config *models.DomoticaConfiguration
Functions ¶
This section is empty.
Types ¶
type BaseController ¶
type BaseController struct {
beego.Controller
}
func (*BaseController) Options ¶
func (this *BaseController) Options()
type DomoticaController ¶
type DomoticaController struct {
BaseController
}
func (*DomoticaController) Post ¶
func (this *DomoticaController) Post()
Executes the request by forwarding it to the bridge
type GenericResponse ¶
type GenericResponse struct { StatusCode int //Application Status code Message string MessageType string Data interface{} }
func CreateFailureResponse ¶
func CreateFailureResponse(status int, message, messageType string, data interface{}) *GenericResponse
func CreateResponse ¶
func CreateResponse(status int, message, messageType string, data interface{}) *GenericResponse
func CreateSuccessResponse ¶
func CreateSuccessResponse(message, messageType string, data interface{}) *GenericResponse
Click to show internal directories.
Click to hide internal directories.