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
GetBaseAddress returns the application base address.
func (*Channel) InvokeMethod ¶
func (g *Channel) InvokeMethod(ctx context.Context, req *invokev1.InvokeMethodRequest) (*invokev1.InvokeMethodResponse, error)
InvokeMethod invokes user code via gRPC.
Click to show internal directories.
Click to hide internal directories.