Documentation ¶
Index ¶
- Constants
- func Check(v *Config, workers map[eosc.RequireId]eosc.IWorker) error
- func Create(id, name string, conf *Config, workers map[eosc.RequireId]eosc.IWorker) (eosc.IWorker, error)
- func NewFactory() eosc.IExtenderDriverFactory
- func Register(register eosc.IExtenderDriverRegister)
- type Config
- type SampleConfig
Constants ¶
View Source
const (
Name = "proxy_mirror"
)
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() eosc.IExtenderDriverFactory
func Register ¶
func Register(register eosc.IExtenderDriverRegister)
Types ¶
type Config ¶
type Config struct { Addr string `json:"addr" label:"服务地址" description:"镜像服务地址, 需要包含scheme"` SampleConf *SampleConfig `json:"sample_conf" label:"采样配置"` Timeout int `json:"timeout" label:"请求超时时间"` PassHost string `` /* 251-byte string literal not displayed */ Host string `` /* 151-byte string literal not displayed */ }
type SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.