context

package
v1.306.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encoder added in v1.286.2

func Encoder(ctx context.Context) encoding.Encoder

Encoder for rpc.

func Request

func Request(ctx context.Context) *http.Request

Request for http.

func Response

func Response(ctx context.Context) http.ResponseWriter

Response for http.

func WithEncoder added in v1.286.2

func WithEncoder(ctx context.Context, e encoding.Encoder) context.Context

WithEncoder for http.

func WithRequest

func WithRequest(ctx context.Context, r *http.Request) context.Context

WithRequest for http.

func WithResponse

func WithResponse(ctx context.Context, r http.ResponseWriter) context.Context

WithResponse for http.

Types

This section is empty.

Jump to

Keyboard shortcuts

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