# README
amoeba

heroku hosted: amoeba demo game client
-
very simple webapp game client
-
move with WASD
-
-
server side physics game world
-
bump and smash into others
-
-
server ai behavior: move
modified version of lonng/nano
- deprecated/archived fork of this repo
amoeba golang client/server example
added support for:
- pipeline encode/decode
- pipeline encrypt/decrypt
- beginning of lifecycles
- variable tick rate game loop
- drivers:
- attach/bind nano to existing web frameworks:
- token based auth jwt
- session/per packet auth
- session uuid
- golang client ws amoeba-client
amoeba
exact nano paradigm | nano -> amoeba
License
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
ExtendEcho -- HELPER TO EXTEND AN ECHO WEB SERVER.
Listen listens on the TCP network address addr and then calls Serve with handler to handle requests on incoming connections.
NewGroup returns a new group instance.
NewGroupWithDriver -- returns a new group instance with driver support driverType = mongo | firebase driverString = mongo uri | firebase cfg file path.
Shutdown send a signal to let 'amoeba' shutdown itself.
No description provided by the author
WithAdvertiseAddr sets the advertise address option, it will be the listen address in master node and an advertise address which cluster member to connect.
WithCheckOriginFunc sets the function that check `Origin` in http headers.
WithMemberAddr sets the listen address which is used to establish connection between cluster members.
WithComponents sets the Components.
WithDebugMode let 'amoeba' to run under Debug mode.
SetDictionary sets routes map.
No description provided by the author
WithGrpcOptions sets the grpc dial options.
WithHandshakeValidator sets the function that Verify `handshake` data.
WithHeartbeatInterval sets Heartbeat time interval.
WithIsWebsocket indicates whether current node WebSocket is enabled.
No description provided by the author
No description provided by the author
WithLabel sets the current node label in cluster.
WithLogger overrides the default logger.
WithMaster sets the option to indicate whether the current node is master node.
No description provided by the author
No description provided by the author
WithSerializer customizes application serializer, which automatically Marshal and UnMarshal handler payload.
SetTimerPrecision sets the ticker precision, and time precision can not less than a Millisecond, and can not change after application running.
WithTSLConfig sets the `key` and `certificate` of TSL.
No description provided by the author
# Variables
Errors that could be occurred during message handling.
Errors that could be occurred during message handling.
Errors that could be occurred during message handling.
Errors that could be occurred during message handling.
VERSION returns current amoeba version.