executor

package
v0.0.0-...-4e1c907 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyConfig

func ApplyConfig(cfg *config.Config, force bool)

ApplyConfig 将配置应用到Clash的各个组件

func GetGeneral

func GetGeneral() *config.General

GetGeneral 获取当前的通用配置

func Parse

func Parse() (*config.Config, error)

Parse 解析默认路径下的配置文件

func ParseWithBytes

func ParseWithBytes(buf []byte) (*config.Config, error)

ParseWithBytes 解析配置文件的字节内容

func ParseWithPath

func ParseWithPath(path string) (*config.Config, error)

ParseWithPath 解析指定路径下的配置文件

Types

This section is empty.

Jump to

Keyboard shortcuts

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