Documentation ¶
Index ¶
Constants ¶
This section is empty.
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(opts NewDirectMessagingOpts) DirectMessaging
NewDirectMessaging returns a new direct messaging api.
type NewDirectMessagingOpts ¶ added in v1.9.0
type NewDirectMessagingOpts struct { AppID string Namespace string Port int Mode modes.DaprMode AppChannel channel.AppChannel ClientConnFn messageClientConnection Resolver nr.Resolver MaxRequestBodySize int Proxy Proxy ReadBufferSize int Resiliency resiliency.Provider IsResiliencyEnabled bool }
NewDirectMessaging contains the options for NewDirectMessaging.
Click to show internal directories.
Click to hide internal directories.