basic_usage

command
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Example basic_usage demonstrates the Detrix Go client usage.

Prerequisites:

  1. Start the Detrix daemon first: $ detrix serve --daemon

  2. Run this example (from clients/go directory): $ go run ./examples/basic_usage

The client will:

  1. Start a control plane server for remote management
  2. Stay in SLEEPING state (zero overhead)
  3. On wake(): start Delve and register with daemon
  4. Allow the daemon to set metrics/observation points
  5. On sleep(): stop debugger and unregister

Jump to

Keyboard shortcuts

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