Skip to content

Simple Client in python to communicate with MoleculerJs Microservices using NATS

License

Notifications You must be signed in to change notification settings

CaioFilus/moleculer-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Client in python to communicate with MoleculerJs Microservices using NATS.

Example

from moleculer_client import MoleculerClient

moleculer = MoleculerClient(node_id='python-node', moleculer_nodeID="node-1", url='nats://127.0.0.1:4222')

print(moleculer.discover())
moleculer.emit('client.alive')
print(moleculer.call('microservice.action', {'data': 'moleculer test'}))

About

Simple Client in python to communicate with MoleculerJs Microservices using NATS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages