profiler

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToDefaultHttpServer

func AddToDefaultHttpServer() any

func AddToHttpServer

func AddToHttpServer(serverServiceName string) any

func Default

func Default() ctx.ServicePackage

func RunAsIndependentServer

func RunAsIndependentServer() ctx.ServicePackage

Types

type Controller

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

func (*Controller) Init

func (c *Controller) Init(provider ctx.ServiceProvider)

func (*Controller) NamedProfile

func (c *Controller) NamedProfile(name string, debug int) (*bytes.Buffer, error)

func (*Controller) Profile

func (c *Controller) Profile(duration time.Duration) (*bytes.Buffer, error)

func (*Controller) Trace

func (c *Controller) Trace(duration time.Duration) (*bytes.Buffer, error)

Jump to

Keyboard shortcuts

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