debuginfo

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultServerURL = "https://debuginfod.elfutils.org"
	DefaultTimeout   = 30 * time.Second
	DefaultRetries   = 3
)

Variables

This section is empty.

Functions

func DefaultCacheDir

func DefaultCacheDir() string

func EnhanceWithDebugInfo

func EnhanceWithDebugInfo(bin *binary.ELFBinary, debugPath string, logger *slog.Logger) error

Types

type Client

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

func NewClient

func NewClient(opts Options) (*Client, error)

func (*Client) FetchDebugInfo

func (c *Client) FetchDebugInfo(ctx context.Context, buildID string) (string, error)

type Options

type Options struct {
	ServerURLs []string
	CacheDir   string
	Timeout    time.Duration
	MaxRetries int
	Logger     *slog.Logger
}

Jump to

Keyboard shortcuts

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