conf

package
v0.0.0-...-2c443e8 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfig

func InitConfig(path string) error

Initializing configuration information

Types

type ConfigType

type ConfigType struct {
	Proxy    string
	Username string
	Password string
}
var Config ConfigType

func (*ConfigType) UseProxy

func (c *ConfigType) UseProxy() bool

UseProxy returns whether the proxy is used

Jump to

Keyboard shortcuts

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