Skip to content

Latest commit

 

History

History
 
 

genserver

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Server demo scenario

This example implements simple server which sends a message to itself.

Here is output of this example:

❯❯❯❯ go run .
Start node mynode@localhost
Started process <0ABD9258.0.1011> with name "simple"
Send message 100 to itself
HandleInfo: 100
increase this value by 1 and send it to itself again
HandleInfo: 101
increase this value by 1 and send it to itself again
HandleInfo: 102
increase this value by 1 and send it to itself again
HandleInfo: 103
increase this value by 1 and send it to itself again
HandleInfo: 104
increase this value by 1 and send it to itself again
HandleInfo: 105
Stop node mynode@localhost