Documentation
¶
Index ¶
- type BaseExport
- type Export
- func (export *Export) Destroy() error
- func (export *Export) ExportTo(deviceData plugin.DeviceData)
- func (export *Export) HandleFunc(method, pattern string, handler restful.Handler)
- func (export *Export) HandlerFunc(method, path string, handler http.HandlerFunc)
- func (export *Export) HttpListen() string
- func (export *Export) Init() error
- func (export *Export) IsReady() bool
- func (export *Export) OnEvent(eventCode event.EventCode, key string, eventValue interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseExport ¶
type Export ¶
type Export struct {
// contains filtered or unexported fields
}
设备自动发现插件
func (*Export) HandleFunc ¶
func (*Export) HandlerFunc ¶
func (export *Export) HandlerFunc(method, path string, handler http.HandlerFunc)
func (*Export) HttpListen ¶
Click to show internal directories.
Click to hide internal directories.