package
Version:
v0.0.0-...-4e1c907
Opens a new window with list of versions in this module.
Published: Apr 9, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Parse 函数是启动Clash时首先调用的函数,用于解析配置并启动相关服务
Option 定义了函数类型,用于修改配置对象
func WithExternalController(externalController string) Option
WithExternalController 创建Option,设置外部控制器的地址
WithExternalUI 创建Option,设置外部UI的路径
WithSecret 创建Option,设置RESTful API的安全密钥
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.