common

package
v0.0.0-...-f13fc7a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL