firstoutboundmiddleware

package
v1.67.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package firstoutboundmiddleware annotates every outbound request with metadata like the request transport protocol. These metadata must be avilable to all subsequent middleware.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Middleware

type Middleware struct{}

Middleware is the first middleware that MUST be executed in the chain of TransportOutboundMiddleware.

func New

func New() *Middleware

New returns middleware to begin any YARPC outbound middleware chain.

func (*Middleware) Call

Call implements middleware.UnaryOutbound.

func (*Middleware) CallOneway

CallOneway implements middleware.OnewayOutbound.

func (*Middleware) CallStream

CallStream implements middleware.StreamOutbound.

Jump to

Keyboard shortcuts

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