package
Version:
v2.1.20
Opens a new window with list of versions in this module.
Published: Jul 25, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GetPool() *ants.Pool
GetPool 获取 pool,如果没有初始化,默认创建容量50的pool
func NewPool(size int, opts ...ants.Option)
NewPool 初始化goroutine pool
Source Files
¶
Click to show internal directories.
Click to hide internal directories.