Documentation ¶
Index ¶
Constants ¶
View Source
const (
// GRPCFeatureName is the feature name for the Dapr configuration required to enable the proxy.
GRPCFeatureName = "proxy.grpc"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectMessaging ¶
type DirectMessaging interface {
Invoke(ctx context.Context, targetAppID string, req *invokev1.InvokeMethodRequest) (*invokev1.InvokeMethodResponse, error)
}
DirectMessaging is the API interface for invoking a remote app.
func NewDirectMessaging ¶
func NewDirectMessaging( appID, namespace string, port int, mode modes.DaprMode, appChannel channel.AppChannel, clientConnFn messageClientConnection, resolver nr.Resolver, tracingSpec config.TracingSpec, maxRequestBodySize int, proxy Proxy, readBufferSize int, streamRequestBody bool) DirectMessaging
NewDirectMessaging returns a new direct messaging api.
Click to show internal directories.
Click to hide internal directories.