Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(id, name string, workerConfig *Config, workers map[eosc.RequireId]eosc.IWorker) (eosc.IWorker, error)
Create 创建北极星驱动实例
func NewFactory ¶
func NewFactory() eosc.IExtenderDriverFactory
Types ¶
type AccessConfig ¶
type AccessConfig struct { Address []string `json:"address" label:"北极星地址"` Namespace string `json:"namespace" label:"命名空间"` Params map[string]string `json:"params" label:"参数"` }
AccessConfig 接入地址配置
type Config ¶
type Config struct {
Config AccessConfig `json:"config" label:"配置信息"`
}
Config 北极星驱动配置
Click to show internal directories.
Click to hide internal directories.