profiler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultHost = "localhost"
View Source
const DefaultPort = 6060

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Profiler)

func WithHost

func WithHost(host string) Option

func WithPort

func WithPort(port int) Option

type Profiler

type Profiler struct {
	Host string
	Port int
}

func NewProfiler

func NewProfiler(opts ...Option) *Profiler

func (*Profiler) Start

func (profiler *Profiler) Start()

Jump to

Keyboard shortcuts

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