fwd

package
v0.9.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func To

func To(addr string, opts ...ForwarderOption) gin.HandlerFunc

Types

type ForwarderOption

type ForwarderOption func(*ForwarderOptions)

func WithDestHint added in v0.5.4

func WithDestHint(hint string) ForwarderOption

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
}

Jump to

Keyboard shortcuts

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