// NewDirectMessaging returns a new direct messaging api
NewDirectMessaging returns a new direct messaging api
// NewDirectMessaging returns a new direct messaging api
func NewDirectMessaging(daprID, namespace string, port int, mode modes.DaprMode, appChannel channel.AppChannel, grpcConnectionFn func(address, id string, skipTLS, recreateIfExists bool) (*grpc.ClientConn, error), resolver servicediscovery.Resolver) DirectMessaging {
	return &directMessaging{
		appChannel:          appChannel,
		connectionCreatorFn: grpcConnectionFn,
		daprID:              daprID,
		mode:                mode,
		grpcPort:            port,
		namespace:           namespace,
		resolver:            resolver,
	}
}
func NewDirectMessaging ( daprID , namespace string , port int , mode modes . DaprMode , appChannel channel . AppChannel , grpcConnectionFn func ( address , id string , skipTLS , recreateIfExists bool ) ( * grpc . ClientConn , error ) , resolver servicediscovery . Resolver ) DirectMessaging { return & directMessaging { appChannel : appChannel , connectionCreatorFn : grpcConnectionFn , daprID : daprID , mode : mode , grpcPort : port , namespace : namespace , resolver : resolver , } }
NewDirectMessaging returns a new direct messaging api
NewDirectMessaging returns a new direct messaging api