共计 682 字节(压缩后429),其中请求数据 149 字节(141)、返回数据 533 字节(288)
共计 1650 字节,其中请求数据 370 字节、返回数据 1280 字节(HTTP 头 136 字节 + 数据 1144 字节)
type InitFunction func() (interface{}, error) | |
type ConnectionPoolWrapper struct { | |
size int | |
pool chan interface{} | |
} | |
/** | |
Call the init function size times. If the init function fails during any call, then | |
the creation of the pool is considered a failure. |