config

package
v0.55.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	EveryTime                     string
	SSHKeyFullPath                string
	SSHKeyPwd                     string
	CloneProjectDesSaveDir        string
	GitProjectUrl                 string
	DesURL                        string
	WhenSubSupplierInvalidWebHook string
	PostUrl                       string
	AuthToken                     string

	UseProxy                 bool   // 是否使用代理
	UseWhichProxyProtocol    string // 是使用 socks5 还是 http 代理
	LocalHttpProxyServerPort string // 本地代理服务器端口
	InputProxyAddress        string // 输入的代理地址
	InputProxyPort           string // 输入的代理端口
	NeedPWD                  bool   // 是否使用用户名密码
	InputProxyUsername       string // 输入的代理用户名
	InputProxyPassword       string // 输入的代理密码
}

func GetConfig

func GetConfig() *Config

GetConfig 统一获取配置的接口

Jump to

Keyboard shortcuts

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