yarpc

package
v0.0.0-...-ddc1a4a Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 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.

Jump to

Keyboard shortcuts

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