highk

package
v0.0.0-...-645e11a Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package highk (for "high-κ dielectric") is a highly experimental leak detection library (for file descriptors and go routines). It is purely internal for now and used only as part of the tests for tigron. TODO: - get rid of lsof and implement in go - investigate feasibility of adding automatic leak detection for any test using tigron - investigate feasibility of adding leak detection for tested binaries - review usefulness of uber goroutines leak library

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Diff

func Diff(one, two string) []string

Diff will return a slice of strings showing the diff between two strings.

func FindGoRoutines

func FindGoRoutines() error

FindGoRoutines retrieves leaked go routines, which are returned as an error.

func SnapshotOpenFiles

func SnapshotOpenFiles(file *os.File) ([]byte, error)

SnapshotOpenFiles will capture the list of currently open-files for the process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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