funcs

package
v3.3.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExportMetric

func GetExportMetric(step int64) []byte

func StartCronTask

func StartCronTask()

func StartHttpServer

func StartHttpServer(port int)

Types

type DbLastKeywordDto

type DbLastKeywordDto struct {
	KeywordGuid    string `json:"keyword_guid"`
	KeywordContent string `json:"keyword_content"`
	Endpoint       string `json:"endpoint"`
}

type DbMonitorResultObj

type DbMonitorResultObj struct {
	Name         string  `json:"name"`
	Endpoint     string  `json:"endpoint"`
	Server       string  `json:"server"`
	Port         string  `json:"port"`
	Value        float64 `json:"value"`
	ServiceGroup string  `json:"service_group"`
	KeywordGuid  string  `json:"keyword_guid"`
	KeywordCount int64   `json:"keyword_count"`
	Step         int64   `json:"step"`
}

type DbMonitorTaskObj

type DbMonitorTaskObj struct {
	DbType         string       `json:"db_type"`
	Endpoint       string       `json:"endpoint"`
	Name           string       `json:"name"`
	Server         string       `json:"server"`
	Port           string       `json:"port"`
	User           string       `json:"user"`
	Password       string       `json:"password"`
	Sql            string       `json:"sql"`
	Step           int64        `json:"step"`
	LastTime       int64        `json:"last_time"`
	ServiceGroup   string       `json:"service_group"`
	Session        *xorm.Engine `json:"session"`
	KeywordGuid    string       `json:"keyword_guid"`
	KeywordCount   int64        `json:"keyword_count"`
	KeywordContent string       `json:"keyword_content"`
}

Jump to

Keyboard shortcuts

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