falcon

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompireCmdbAndRedis

func CompireCmdbAndRedis()

func DeleteFlaonHost

func DeleteFlaonHost(hostname string) (err error)

func GetFalconHost

func GetFalconHost(hostname string) (hostip string, err error)

func GetRedisHostList

func GetRedisHostList() (hosts []string, err error)

func GetRedisHostsExpire

func GetRedisHostsExpire()

func SendAlarm

func SendAlarm(host string, appDomain string)

func SendInternalAlarm

func SendInternalAlarm(hostInfo []string)

func SendRedisAlarm

func SendRedisAlarm(alarmInfo string)

Types

type FalconHostInfo

type FalconHostInfo struct {
	Hostname string `json:"hostname"`
	Ip       string `json:"ip"`
}

Jump to

Keyboard shortcuts

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