Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPoolClosed = errors.New("pool closed")
View Source
var ThreadId myInt = 0
Functions ¶
func GetThreadId ¶
Types ¶
type BaseClientOption ¶
type Client ¶
type Client[T any] struct { // contains filtered or unexported fields }
func NewBaseClient ¶
func (*Client[T]) ThreadSize ¶
type ClientOption ¶
type ClientOption = BaseClientOption[bool]
type DefaultClient ¶
func NewClient ¶
func NewClient(preCtx context.Context, maxNum int64, options ...ClientOption) *DefaultClient
Click to show internal directories.
Click to hide internal directories.