Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProvisionPreApps ¶
Types ¶
type Config ¶
type Config struct { // PreApps 设定前置Apps PreApps []string `json:"pre_apps"` // InitHook used to config init attrs, e.g. `app_name` *InitHook `json:"init_hook"` // Logging 定义应用依赖的三方库使用的logger资源 Logging *logging.Logging `json:"logging,omitempty"` // Tracers 配置兼容opentracing的Tracers Tracers *trace.Tracers `json:"tracers,omitemtpy"` // EigenkeyRaw 特征键提取器 EigenkeyRaw map[string]json.RawMessage `json:"eigenkey,omitempty"` StoreRaw map[string]json.RawMessage `json:"store,omitempty"` // Mock 配置mock Mock *mock.Mock `json:"mock,omitempty"` // HTTP 配置http clients和handlers HTTP *http.HTTP `json:"http,omitempty"` // Pool 通用对象池 Pool *pool.Pool `json:"pool,omitempty"` ExtensionRaw map[string]json.RawMessage `json:"ext,omitempty"` // contains filtered or unexported fields }
Config 配置平台
func (Config) CaddyModule ¶
func (c Config) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
Click to show internal directories.
Click to hide internal directories.