grpc

package
v0.5.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// QueryString is the query string passed by the request
	QueryString = "http.query_string"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	// contains filtered or unexported fields
}

Channel is a concrete AppChannel implementation for interacting with gRPC based user code

func CreateLocalChannel

func CreateLocalChannel(port, maxConcurrency int, conn *grpc.ClientConn, spec config.TracingSpec) *Channel

CreateLocalChannel creates a gRPC connection with user code

func (*Channel) InvokeMethod

func (g *Channel) InvokeMethod(req *channel.InvokeRequest) (*channel.InvokeResponse, error)

InvokeMethod invokes user code via gRPC

Jump to

Keyboard shortcuts

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