grpc

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: MIT Imports: 9 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) *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