config

package
v0.0.0-...-50172b1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataT

type DataT struct {
	MinimumDay int           // 开始告警的截止时间(多少天前)
	TryAgain   int           // 检测到错误则重新检测几次
	Timeout    time.Duration // HTTP超时时间

	DomainsAndPort map[string]string // https+port,key仅仅是显示名称
}

func (*DataT) Parse

func (conf *DataT) Parse() []error

Jump to

Keyboard shortcuts

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