httpserver

package
v1.9.3-beta.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartHttpServer

func StartHttpServer(port int)

Types

type BasicResponse

type BasicResponse struct {
	Status  BasicStatus `json:"status"`
	Message string      `json:"message"`
	Data    interface{} `json:"data"`
}

type BasicStatus

type BasicStatus string
const (
	Success BasicStatus = "success"
	Failure BasicStatus = "failure"
)

type TraceListRequest

type TraceListRequest struct {
	ApmType    string `json:"apmType"`
	TraceId    string `json:"traceId"`
	StartTime  int64  `json:"startTime"`
	Attributes string `json:"attributes"`
}

Jump to

Keyboard shortcuts

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