registry

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: Apache-2.0 Imports: 25 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package registry 集中创建全部功能模块,供主程序、文档导出与测试共用。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (mods []module.Module, certs *ssl.Module)

New 创建全部模块。Web 服务使用证书模块按 SNI 提供 HTTPS 证书,并按站点引用 WAF 实例, 因此一并返回证书模块供管理界面 HTTPS 复用。

func Requires added in v0.5.3

func Requires() map[string][]string

Requires 返回模块间的依赖关系:键为模块 ID,值为它依赖的模块 ID。 与 New 中的装配关系一一对应;依赖方开启期间,被依赖的模块不能关闭。

Types

This section is empty.

Jump to

Keyboard shortcuts

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