external

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0 Imports: 22 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// HTTPStatusCode is an dapr http channel status code.
	HTTPStatusCode = "http.status_code"
)

Variables

This section is empty.

Functions

func CreateNonLocalChannel

CreateNonLocalChannel creates an HTTP AppChannel for external service invocation.

Types

type ChannelConfigurationForHTTPEndpoints

type ChannelConfigurationForHTTPEndpoints struct {
	Client               *http.Client
	CompStore            *compstore.ComponentStore
	MaxConcurrency       int
	Pipeline             httpMiddleware.Pipeline
	TracingSpec          config.TracingSpec
	MaxRequestBodySizeMB int
}

ChannelConfigurationForHTTPEndpoints is the configuration used to create an HTTP AppChannel for external service invocation.

type HTTPEndpointAppChannel

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

HTTPEndpointAppChannel is an HTTP implementation of an AppChannel.

func (*HTTPEndpointAppChannel) InvokeMethod

InvokeMethod invokes external http endpoint via HTTP.

Jump to

Keyboard shortcuts

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