Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseTableData ¶
func ParseTableData(msg *protocol.TableMessage) ([]*common_type.RawData, []*common_type.ColumnDesc)
func Unmarshal ¶
func Unmarshal(rawData []*common_type.RawData, columnDesc []*common_type.ColumnDesc, v interface{}) error
Types ¶
type ResourceFactor ¶
type ResourceFactor interface {
GetResource(plugin common_type.IPlugin, sender Sender) common_type.IResources
}
ResourceFactor 资源工厂,负责获取到local版本或release版本的资源
type Sender ¶
type Sender interface {
Send(plugin common_type.IPlugin, msg *protocol.PlatformMessage) (resp *protocol.PlatformMessage, err common_type.PluginError)
SendAsync(plugin common_type.IPlugin, msg *protocol.PlatformMessage, callback connect.CallBack)
SendOnly(msg *protocol.PlatformMessage) (err common_type.PluginError)
}
Click to show internal directories.
Click to hide internal directories.