timeout

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package timeout implements a timeout error after the given duration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnaryServerInterceptor

func UnaryServerInterceptor(timeout time.Duration) grpc.UnaryServerInterceptor

UnaryServerInterceptor returns a new unary server interceptor that returns a grpc error from context error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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