Versions in this module Expand all Collapse all v2 v2.43.1 Apr 3, 2023 Changes in this version + var ConfigDefault = Config + func Balancer(config Config) fiber.Handler + func BalancerForward(servers []string, clients ...*fasthttp.Client) fiber.Handler + func Do(c *fiber.Ctx, addr string, clients ...*fasthttp.Client) error + func DoDeadline(c *fiber.Ctx, addr string, deadline time.Time, clients ...*fasthttp.Client) error + func DoRedirects(c *fiber.Ctx, addr string, maxRedirectsCount int, clients ...*fasthttp.Client) error + func DoTimeout(c *fiber.Ctx, addr string, timeout time.Duration, clients ...*fasthttp.Client) error + func DomainForward(hostname, addr string, clients ...*fasthttp.Client) fiber.Handler + func Forward(addr string, clients ...*fasthttp.Client) fiber.Handler + func New(config Config) fiber.Handler + func WithClient(cli *fasthttp.Client) + func WithTlsConfig(tlsConfig *tls.Config) + type Config struct + Client *fasthttp.LBClient + ModifyRequest fiber.Handler + ModifyResponse fiber.Handler + Next func(c *fiber.Ctx) bool + ReadBufferSize int + Servers []string + Timeout time.Duration + TlsConfig *tls.Config + WriteBufferSize int