grpc

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddAuthTokenInterceptor

func NewAddAuthTokenInterceptor(token func() string) connect.Interceptor

func RetryHTTPClient

func RetryHTTPClient() connect.HTTPClient

Types

type RecordRoundTripper

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

func NewRecordRoundTripper

func NewRecordRoundTripper(writer io.Writer) *RecordRoundTripper

func (*RecordRoundTripper) RoundTrip

func (rt *RecordRoundTripper) RoundTrip(req *http.Request) (*http.Response, error)

type ReplayRoundTripper

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

func NewReplayRoundTripper

func NewReplayRoundTripper(reader io.Reader) *ReplayRoundTripper

func (*ReplayRoundTripper) RoundTrip

func (rt *ReplayRoundTripper) RoundTrip(_ *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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