Movatterモバイル変換


[0]ホーム

URL:


proxyserver

package
v1.77.0Latest Latest
Warning

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

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

Details

Repository

github.com/grpc/grpc-go

Links

Documentation

Overview

Package proxyserver provides an implementation of a proxy server for testing purposes.The server supports only a single incoming connection at a time and is not concurrent.It handles only HTTP CONNECT requests; other HTTP methods are not supported.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeProxyServer

type ProxyServer struct {Addrstring// Address of the proxy// contains filtered or unexported fields}

ProxyServer represents a test proxy server.

funcNew

func New(t *testing.T, reqCheck func(*http.Request), waitForServerHellobool) *ProxyServer

New initializes and starts a proxy server, registers a cleanup tostop it, and returns a ProxyServer.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp