clientgo

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusternetTransport

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

ClusternetTransport is a transport to redirect requests to clusternet-hub

func NewClusternetTransport

func NewClusternetTransport(host string, rt http.RoundTripper) *ClusternetTransport

func (*ClusternetTransport) RoundTrip

func (t *ClusternetTransport) 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