service

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RoutePprofPre     = "/pprof"
	RouteTracePre     = "/trace"
	RoutePprofDiffPre = "/pprof-diff"
	RouteTrace        = RouteTracePre + "/%s/"
	RoutePprof        = RoutePprofPre + "/%s/"
	RoutePprofDiff    = RoutePprofDiffPre + "/%s/%s/"
)

Variables

View Source
var ProviderSet = wire.NewSet(NewService)

Functions

This section is empty.

Types

type PluginInfo added in v1.0.16

type PluginInfo struct {
	Name        string `json:"name"`
	Enabled     bool   `json:"enabled"`
	Description string `json:"description"`
}

type Service added in v1.0.4

type Service struct {
	// contains filtered or unexported fields
}

func NewService added in v1.0.4

func NewService(c *conf.Bs, uc *biz.Usecase, logger log.Logger) *Service

func (*Service) APIIndex added in v1.0.18

func (s *Service) APIIndex(c *gin.Context)

func (*Service) APIMcpHint added in v1.0.18

func (s *Service) APIMcpHint(c *gin.Context)

APIMcpHint returns MCP stdio client hints (running binary path, API base, suggested args).

func (*Service) APIPlugins added in v1.0.16

func (s *Service) APIPlugins(c *gin.Context)

func (*Service) APIPprofFlame added in v1.0.18

func (s *Service) APIPprofFlame(c *gin.Context)

func (*Service) APIPprofFlameLayout added in v1.0.18

func (s *Service) APIPprofFlameLayout(c *gin.Context)

func (*Service) APIPprofPeek added in v1.0.18

func (s *Service) APIPprofPeek(c *gin.Context)

func (*Service) APIPprofSource added in v1.0.18

func (s *Service) APIPprofSource(c *gin.Context)

func (*Service) APIPprofTop added in v1.0.18

func (s *Service) APIPprofTop(c *gin.Context)

func (*Service) Css added in v1.0.14

func (s *Service) Css(c *gin.Context)

func (*Service) File added in v1.0.4

func (s *Service) File(c *gin.Context)

func (*Service) FileList added in v1.0.4

func (s *Service) FileList(c *gin.Context)

func (*Service) Index added in v1.0.4

func (s *Service) Index(c *gin.Context)

func (*Service) PersonCurl added in v1.0.4

func (s *Service) PersonCurl(c *gin.Context)

func (*Service) PprofDiffProxy added in v1.0.16

func (s *Service) PprofDiffProxy(c *gin.Context)

func (*Service) PprofProxy added in v1.0.4

func (s *Service) PprofProxy(c *gin.Context)

func (*Service) Run added in v1.0.4

func (s *Service) Run(c *gin.Context)

func (*Service) Run1 added in v1.0.4

func (s *Service) Run1(c *gin.Context)

func (*Service) StaticFile added in v1.0.16

func (s *Service) StaticFile(c *gin.Context)

func (*Service) TraceProxy added in v1.0.4

func (s *Service) TraceProxy(c *gin.Context)

func (*Service) Upload added in v1.0.4

func (s *Service) Upload(c *gin.Context)

Jump to

Keyboard shortcuts

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