profile

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Index

func Index(engine *gin.Engine)

func MergeProfile added in v0.2.2

func MergeProfile(c *gin.Context)

func ReceiveProfile

func ReceiveProfile(c *gin.Context)

func UploadPath

func UploadPath(pathPrefix, service, profileType, fileName string) string

Types

type MergeProfileReq added in v0.2.2

type MergeProfileReq struct {
	Host        string `json:"host"`
	Ip          string `json:"ip"`
	Service     string `json:"service"`
	ProfileType string `json:"profile_type"`
	StartTime   int64  `json:"start_time"`
	EndTime     int64  `json:"end_time"`
}

type ReceiveProfileReq

type ReceiveProfileReq struct {
	Service        string `json:"service"`
	ServiceVersion string `json:"service_version"`
	Host           string `json:"host"`
	IP             string `json:"ip"`
	GoVersion      string `json:"go_version"`
	ProfileType    string `json:"profile_type"`
	Profile        string `json:"profile"`
	SendTime       int64  `json:"send_time"`
	CreateTime     int64  `json:"create_time"`
}

Jump to

Keyboard shortcuts

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