funcs

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExportMetric

func GetExportMetric() []byte

func StartCronTask

func StartCronTask()

func StartHttpServer

func StartHttpServer(port int)

Types

type DbMonitorResultObj

type DbMonitorResultObj struct {
	Name     string `json:"name"`
	Endpoint string `json:"endpoint"`
	Server   string `json:"server"`
	Port     string `json:"port"`
	Value    int    `json:"value"`
}

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"`
	Session  *xorm.Engine `json:"session"`
}

Jump to

Keyboard shortcuts

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