Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPoolIsFull = errors.New("vex: pool is full") ErrPoolIsClosed = errors.New("vex: pool is closed") )
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(conf *config)
func WithFastFailed ¶ added in v0.4.3
func WithFastFailed() Option
WithFastFailed sets fastFailed to config.
type Status ¶
type Status struct { // Limit is the limit of connected clients. Limit uint64 `json:"limit"` // Connected is the count of connected clients. Connected uint64 `json:"connected"` // Idle is the count of idle clients. Idle uint64 `json:"idle"` // Waiting is the count of waiting for a client. Waiting uint64 `json:"waiting"` }
Click to show internal directories.
Click to hide internal directories.