grpc

package
v1.4.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

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, maxRequestBodySize int) *Channel

CreateLocalChannel creates a gRPC connection with user code.

func (*Channel) GetAppConfig added in v1.2.0

func (g *Channel) GetAppConfig() (*config.ApplicationConfig, error)

GetAppConfig gets application config from user application.

func (*Channel) GetBaseAddress added in v0.6.0

func (g *Channel) GetBaseAddress() string

GetBaseAddress returns the application base address.

func (*Channel) InvokeMethod

InvokeMethod invokes user code via gRPC.

Jump to

Keyboard shortcuts

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