xpack

package
v0.0.0-...-f3de09e Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSMSAlertLog

func CreateSMSAlertLog(alertType string, info dto.AlertDTO, create dto.AlertLogCreate, project string, params []dto.Param, method string) error

func CreateTaskScanSMSAlertLog

func CreateTaskScanSMSAlertLog(alert dto.AlertDTO, alertType string, create dto.AlertLogCreate, pushAlert dto.PushAlert, method string) error

func CreateTaskScanWebhookAlertLog

func CreateTaskScanWebhookAlertLog(alert dto.AlertDTO, alertType string, create dto.AlertLogCreate, pushAlert dto.PushAlert, method string, transport *http.Transport, agentInfo *dto.AgentInfo) error

func CreateWebhookAlertLog

func CreateWebhookAlertLog(alertType string, info dto.AlertDTO, create dto.AlertLogCreate, project string, params []dto.Param, method string, transport *http.Transport, agentInfo *dto.AgentInfo) error

func GetAgentInfo

func GetAgentInfo() (*dto.AgentInfo, error)

func GetImagePrefix

func GetImagePrefix() string

func GetLicenseErrorAlert

func GetLicenseErrorAlert() (uint, error)

func GetNodeErrorAlert

func GetNodeErrorAlert() (uint, error)

func IsUseCustomApp

func IsUseCustomApp() bool

func LoadNodeInfo

func LoadNodeInfo(isBase bool) (model.NodeInfo, error)

func LoadRequestTransport

func LoadRequestTransport() *http.Transport

func PushSSLToNode

func PushSSLToNode(websiteSSL *model.WebsiteSSL) error

func RemoveTamper

func RemoveTamper(website string)

func StartClam

func StartClam(startClam *model.Clam, isUpdate bool) (int, error)

func ValidateCertificate

func ValidateCertificate(c *gin.Context) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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