Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
Group stores all calls in flight.
func (*Group) Call ¶
func (g *Group) Call(ctx context.Context, key string, fn func(ctx context.Context) (interface{}, error)) (interface{}, error)
Call will call fn in single-flight mode.
Click to show internal directories.
Click to hide internal directories.