Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
Filter is used to filter a proxy during the selection process
func FilterScore ¶
FilterScore is a score based Select Filter which will only return proxies which score >= threshold
type SelectOption ¶
type SelectOption func(*SelectOptions)
func WithFilter ¶
func WithFilter(fn ...Filter) SelectOption
WithFilter adds a filter function to the list of filters used during the Select call
func WithLimit ¶
func WithLimit(limit int) SelectOption
WithLimit sets the limit number of proxies returned
func WithOffset ¶
func WithOffset(offset int) SelectOption
WithLimit sets the proxies return from offset position in backend
type SelectOptions ¶
Click to show internal directories.
Click to hide internal directories.