interceptor

package
v1.0.1001 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientGrpcInterceptor

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

func (*ClientGrpcInterceptor) Unary

type HttpRequestInterceptor

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

func (HttpRequestInterceptor) RoundTrip

func (c HttpRequestInterceptor) RoundTrip(r *http.Request) (*http.Response, error)

RoundTrip - Inject log request and response data only accept json format Another format will be ignored Only POST, PUT, PATCH method will be logged for request

Jump to

Keyboard shortcuts

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