Documentation ¶
Index ¶
- func Load[T any](ctx context.Context, p Pool[T], i int) error
- func With[T any](ctx context.Context, pool Pool[T], fn func(T) error) error
- func WithValue[T any, V any](ctx context.Context, pool Pool[T], fn func(T) (V, error)) (V, error)
- func WithValue2[T any, V any, V2 any](ctx context.Context, pool Pool[T], fn func(T) (V, V2, error)) (V, V2, error)
- type CloseContext
- type CloseContextErr
- type CloseErr
- type Closer
- type Config
- type Pool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CloseContext ¶
type CloseContextErr ¶
Click to show internal directories.
Click to hide internal directories.