MCPcopy
hub / github.com/micro/go-micro / NewPool

Function NewPool

internal/util/pool/pool.go:31–38  ·  view source on GitHub ↗

NewPool will return a new pool object.

(opts ...Option)

Source from the content-addressed store, hash-verified

29
30// NewPool will return a new pool object.
31func NewPool(opts ...Option) Pool {
32 var options Options
33 for _, o := range opts {
34 o(&options)
35 }
36
37 return newPool(options)
38}

Callers 2

newRPCClientFunction · 0.92
InitMethod · 0.92

Calls 1

newPoolFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…