Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Limiter ¶
type Limiter interface { // Wait must block until limiter // permits another request to proceed. Wait(context.Context) error }
Limiter is used to apply rate limits. NOTE: you can use off the shelf limiter from https://pkg.go.dev/golang.org/x/time/rate#Limiter
type Option ¶
type Option func(*Options)
Option is functional graph option.
func WithHTTPClient ¶
WithHTTPClient sets the HTTP client.
Click to show internal directories.
Click to hide internal directories.