request

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateUnaryContext added in v1.0.0

func ValidateUnaryContext(ctx context.Context) error

ValidateUnaryContext validates that a context for a unary request is valid and contains all required information.

Types

type OnewayValidatorOutbound added in v0.4.0

type OnewayValidatorOutbound struct{ transport.OnewayOutbound }

OnewayValidatorOutbound wraps an Outbound to validate all outgoing oneway requests.

func (OnewayValidatorOutbound) CallOneway added in v0.4.0

func (o OnewayValidatorOutbound) CallOneway(ctx context.Context, request *transport.Request) (transport.Ack, error)

CallOneway performs the given request, failing early if the request is invalid.

func (OnewayValidatorOutbound) Introspect added in v1.0.0

Introspect returns the introspection status of the underlying outbound.

type UnaryValidatorOutbound added in v0.4.0

type UnaryValidatorOutbound struct{ transport.UnaryOutbound }

UnaryValidatorOutbound wraps an Outbound to validate all outgoing unary requests.

func (UnaryValidatorOutbound) Call added in v0.4.0

Call performs the given request, failing early if the request is invalid.

func (UnaryValidatorOutbound) Introspect added in v1.0.0

Introspect returns the introspection status of the underlying outbound.

Jump to

Keyboard shortcuts

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