yarpc

package
Version: v0.0.0-...-a69e935 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToYARPCError

func ConvertToYARPCError(err error) error

ConvertToYARPCError converts an error to yarpc error with correct status code

func GetHeaders

func GetHeaders(ctx context.Context) map[string]string

GetHeaders returns all the yarpc headers in the context

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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