utils

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTransport

func NewTransport(ctx context.Context, opt ...TransportOption) http.RoundTripper

Types

type TransportOption

type TransportOption func(*TransportOptions)

func WithLog

func WithLog(logger *logger.Logger, level zapcore.Level) TransportOption

func WithReqTransformer

func WithReqTransformer(reqTransformer func(*http.Request)) TransportOption

type TransportOptions

type TransportOptions struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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