pprof

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ins

type Ins struct {
	Instances []struct {
		Treeid   int      `json:"treeid"`
		Hostname string   `json:"hostname"`
		Addrs    []string `json:"addrs"`
		Status   int      `json:"status"`
	} `json:"instances"`
}

Ins .

type Params

type Params struct {
	AppID     string    `form:"app_id" default:""`
	SvgName   string    `form:"svg_name" default:""`
	Kind      int64     `form:"kind" default:"0"`
	IP        string    `form:"ip" default:""`
	StartTime time.Time `form:"start_time" default:"0"`
	EndTime   time.Time `form:"end_time" default:"0"`
}

Params .

type Response

type Response struct {
	Code int  `json:"code"`
	Data *Ins `json:"data"`
}

Response .

type Warn

type Warn struct {
	ID      int64     `gorm:"column:id" json:"id"`
	AppID   string    `gorm:"column:app_id" json:"app_id"`
	SvgName string    `gorm:"column:svg_name" json:"svg_name"`
	IP      string    `gorm:"column:ip" json:"ip"`
	Kind    int64     `gorm:"column:kind" json:"kind"`
	Ctime   time.Time `gorm:"column:ctime" json:"ctime"`
	Mtime   time.Time `gorm:"column:mtime" json:"mtime"`
	URL     string    `gorm:"-" json:"url"`
}

Warn .

func (*Warn) TableName

func (*Warn) TableName() string

TableName .

type Warning

type Warning struct {
	Tags struct {
		App string `json:"app"`
	} `json:"tags"`
}

Warning .

Jump to

Keyboard shortcuts

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