grpc

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package grpc offers utils for testing gppc services

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextDialer

type ContextDialer func(context.Context, string) (net.Conn, error)

ContextDialer defines a function that returns a connection for a context

func BuffconnDialer

func BuffconnDialer(l *bufconn.Listener) ContextDialer

BuffconnDialer is a context dialer that can be used with the grpc.WithContextDialer DialOption It returns a connection to a buffconn Listener

Directories

Path Synopsis
Package dynamic implements a dynamic grpc client It requires the server to be registered to the grpc reflection Service
Package dynamic implements a dynamic grpc client It requires the server to be registered to the grpc reflection Service
Package ping provides a grpc service for testing The service allows controlling the response returned by the server including the generation of specific errors.
Package ping provides a grpc service for testing The service allows controlling the response returned by the server including the generation of specific errors.

Jump to

Keyboard shortcuts

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