Documentation
¶
Index ¶
- func SetupApplication(app *iris.Application)
- func SetupCodecJs(app *iris.Application)
- func SetupConnector(app *iris.Application)
- func SetupDataPoint(app *iris.Application)
- func SetupLogic(app *iris.Application)
- func SetupTrigger(app *iris.Application)
- type AppForm
- type Application
- type Codec
- type CodecJsForm
- type Connector
- type ConnectorForm
- type DataPointForm
- type Logic
- type LogicForm
- type SimpleResult
- type Trigger
- type TriggerForm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupApplication ¶
func SetupApplication(app *iris.Application)
func SetupCodecJs ¶
func SetupCodecJs(app *iris.Application)
func SetupConnector ¶
func SetupConnector(app *iris.Application)
func SetupDataPoint ¶
func SetupDataPoint(app *iris.Application)
func SetupLogic ¶
func SetupLogic(app *iris.Application)
func SetupTrigger ¶
func SetupTrigger(app *iris.Application)
Types ¶
type Application ¶
type Application struct {
AppId string `json:"id"`
AppDescription string `json:"description,omitempty"`
// 编码插件
CodecType string `json:"codec,omitempty"`
// Proxy ID
Connector string `json:"connector,omitempty"`
CreateTime int64 `json:"createTime,omitempty"`
UpdateTime int64 `json:"updateTime,omitempty"`
}
type CodecJsForm ¶
type ConnectorForm ¶
type DataPointForm ¶
type DataPointForm struct {
Content string
}
type SimpleResult ¶
type SimpleResult struct {
Code int `json:"code"`
Message string `json:"message"`
Item interface{} `json:"item,omitempty"`
Page *repo.Page `json:"page,omitempty"`
}
func NewBean ¶
func NewBean() *SimpleResult
type TriggerForm ¶
type TriggerForm struct {
Content string
}
Click to show internal directories.
Click to hide internal directories.