errx

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package errx 提供 errx 全局指标钩子的 metricsx 适配。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(m *metricsx.Metrics)

Install 安装全局指标钩子,将 errx 错误构造/查询事件转发给 metricsx。 全局生效;同一进程只需安装一次。

func Uninstall

func Uninstall()

Uninstall 卸载全局指标钩子,恢复零额外开销。

Types

This section is empty.

Jump to

Keyboard shortcuts

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