router

package
v0.1.249 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHttpClient

func GetHttpClient(octopusUrl *url.URL) (*http.Client, *url.URL, error)

Types

type HeaderRoundTripper

type HeaderRoundTripper struct {
	Transport http.RoundTripper
	Headers   map[string]string
}

func (*HeaderRoundTripper) RoundTrip

func (h *HeaderRoundTripper) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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