Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultTimeout = 10 * time.Second RequestTimeOut = 5 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FastHttpClient ¶
type FastHttpClient struct {
// contains filtered or unexported fields
}
func GetDefaultClient ¶
func GetDefaultClient() FastHttpClient
func (FastHttpClient) CheckRetry ¶
func (FastHttpClient) CheckRetry(err error, status int) bool
func (FastHttpClient) Proxy ¶
func (c FastHttpClient) Proxy(targetUrl string, ctx *fiber.Ctx, timeout time.Duration) error
func (*FastHttpClient) SetClient ¶
func (c *FastHttpClient) SetClient(client *fasthttp.Client)
Click to show internal directories.
Click to hide internal directories.