fix(core): update
This commit is contained in:
parent
e0ce732ee1
commit
92e4379bd2
@ -27,6 +27,10 @@ Use TypeScript for best in class instellisense.
|
|||||||
|
|
||||||
Think WhatsApp, but for your microservices architecture. It allows your services to securely talk to each other in **private, shielded channels** without having to expose anything to the outside world. This allows the use of **reactive programming across your entire stack**.
|
Think WhatsApp, but for your microservices architecture. It allows your services to securely talk to each other in **private, shielded channels** without having to expose anything to the outside world. This allows the use of **reactive programming across your entire stack**.
|
||||||
|
|
||||||
|
### Server side
|
||||||
|
every universe has a server that manages messages.
|
||||||
|
Think Kafka, but without Kafka.
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
import * as smartuniverse from '@pushrocks/smartuniverse';
|
import * as smartuniverse from '@pushrocks/smartuniverse';
|
||||||
|
|
||||||
@ -41,6 +45,9 @@ myUniverse.addChannel('awesomeChannel2', 'jhkjhfsdf87eerkjslkfja9');
|
|||||||
myUniverse.start(8765); // start the server and provide the port on which to listen on
|
myUniverse.start(8765); // start the server and provide the port on which to listen on
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Client side
|
||||||
|
All your microservices represents clients in the universe that may talk to each other using the universe server.
|
||||||
|
|
||||||
For further information read the linked docs at the top of this readme.
|
For further information read the linked docs at the top of this readme.
|
||||||
|
|
||||||
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
||||||
|
Loading…
Reference in New Issue
Block a user