Documentation ¶
Index ¶
- func Async0(ctx context.Context, cat, name string, fn func(context.Context))
- func Async1[A any](ctx context.Context, cat, name string, fn func(context.Context) A) A
- func Async2[A, B any](ctx context.Context, cat, name string, fn func(context.Context) (A, B)) (A, B)
- func Sync0(ctx context.Context, cat, name string, fn func(context.Context))
- func Sync1[A any](ctx context.Context, cat, name string, fn func(context.Context) A) A
- func Sync2[A, B any](ctx context.Context, cat, name string, fn func(context.Context) (A, B)) (A, B)
- type Tracer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
func WithFileTracer ¶
Click to show internal directories.
Click to hide internal directories.