- Types for the network messaging: true
- Enabled Observer: true (http://localhost:9911)
- Loggers: colored rotate
Applications
MyApp{}
./examples/demo/apps/myapp/myapp.goMyActorInApp{}
./examples/demo/apps/myapp/myactorinapp.goMySup{}
./examples/demo/apps/myapp/mysup.goMyActorInSup{}
./examples/demo/apps/myapp/myactorinsup.goMyTCP{}
./examples/demo/apps/myapp/mytcp.goMyPool{}
./examples/demo/apps/myapp/mypool.goMyWeb{}
./examples/demo/apps/myapp/myweb.go
MyUDP{}
./examples/demo/apps/myapp/myudp.go
Messages are generated for the networking in ../../examples/demo/types.go
MyMsg1{}
MyMsg2{}
This project has been generated with the ergo
tool. To install this tool, use the following command:
$ go install ergo.services/tools/ergo@latest
Below the command that was used to generate this project:
$ ergo -path ./examples/ -init "demo{tls}" -with-app MyApp -with-actor MyApp:MyActorInApp -with-sup MyApp:MySup -with-actor "MySup:MyActorInSup{type:afo}" -with-tcp "MySup:MyTCP{port:12345,tls}" -with-udp "MyApp:MyUDP{port:2345}" -with-pool "MySup:MyPool{size:3}" -with-web "MySup:MyWeb{tls,websocket}" -with-msg MyMsg1 -with-msg MyMsg2 -with-observer -with-logger colored -with-logger rotate