package
0.7.1
Repository: https://github.com/be9/prototool.git
Documentation: pkg.go.dev

# Functions

HandlerWithCallTimeout returns a HandlerOption that has the given call timeout.
HandlerWithConnectTimeout returns a HandlerOption that has the given connect timeout.
HandlerWithHeader returns a HandlerOption that adds the given key/value header.
HandlerWithKeepaliveTime returns a HandlerOption that has the given keepalive time.
HandlerWithLogger returns a HandlerOption that uses the given logger.
NewHandler returns a new Handler.

# Constants

DefaultCallTimeout is the default call timeout.
DefaultConnectTimeout is the default connect timeout.

# Interfaces

Handler handles gRPC calls.

# Type aliases

HandlerOption is an option for a new Handler.