fwd

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL