config

package
v0.0.0-...-301b105 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: MIT Imports: 7 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 {
	HttpInsecureSkipVerify    bool
	HttpTimeout               time.Duration
	Timezone                  *time.Location
	IKuaiAddr                 string
	IKuaiUsername             string
	IKuaiPassword             string
	IKuaiCronSkipStart        bool
	IKuaiCronCustomISPList    []*IKuaiCronCustomISP
	IKuaiCronStreamDomainList []*IKuaiCronStreamDomain
	IKuaiExporterDisable      bool
	IKuaiExporterListenAddr   string
}
var C *Config

func Load

func Load() *Config

type IKuaiCronCustomISP

type IKuaiCronCustomISP struct {
	Cron    string
	Name    string
	Url     []string
	Comment string
}

type IKuaiCronStreamDomain

type IKuaiCronStreamDomain struct {
	Cron      string
	Interface []string
	Url       []string
	SrcAddr   string
	Comment   string
}

Jump to

Keyboard shortcuts

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