Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func To ¶
func To(addr string, opts ...ForwarderOption) func(*fiber.Ctx) error
Types ¶
type ForwarderOption ¶
type ForwarderOption func(*ForwarderOptions)
func WithLogger ¶
func WithLogger(logger *zap.SugaredLogger) ForwarderOption
func WithName ¶
func WithName(name string) ForwarderOption
func WithTLS ¶
func WithTLS(tlsConfig *tls.Config) ForwarderOption
type ForwarderOptions ¶
type ForwarderOptions struct {
// contains filtered or unexported fields
}
func (*ForwarderOptions) Apply ¶
func (o *ForwarderOptions) Apply(opts ...ForwarderOption)
Click to show internal directories.
Click to hide internal directories.