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 *slog.Logger) 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
}
Click to show internal directories.
Click to hide internal directories.