Documentation ¶ Index ¶ func GoSafe(fn func(), panicHandler func(r any)) func GoSafeWithContext(ctx context.Context, fn func(ctx context.Context), ...) func GoSafeWithTraceContext(ctx context.Context, spanName string, fn func(ctx context.Context) error, ...) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GoSafe ¶ func GoSafe(fn func(), panicHandler func(r any)) func GoSafeWithContext ¶ func GoSafeWithContext(ctx context.Context, fn func(ctx context.Context), panicHandler func(ctx context.Context, r any)) func GoSafeWithTraceContext ¶ func GoSafeWithTraceContext(ctx context.Context, spanName string, fn func(ctx context.Context) error, panicHandler func(ctx context.Context, r any)) Types ¶ This section is empty. Source Files ¶ View all Source files goroutine.go Click to show internal directories. Click to hide internal directories.