save

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SaveConfig

func SaveConfig(results []check.Result)

SaveConfig 保存配置的入口函数

Types

type ConfigSaver

type ConfigSaver struct {
	// contains filtered or unexported fields
}

ConfigSaver 处理配置保存的结构体

func NewConfigSaver

func NewConfigSaver(results []check.Result) *ConfigSaver

NewConfigSaver 创建新的配置保存器

func (*ConfigSaver) Save

func (cs *ConfigSaver) Save() error

Save 执行保存操作

type ProxyCategory

type ProxyCategory struct {
	Name    string
	Proxies []map[string]any
	Filter  func(result check.Result) bool
}

ProxyCategory 定义代理分类

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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