update to 1.2 version

Generate systemd script
Default info_level set to 2
Modify & add some comment for Example module
Brand new Console
Add daemon command argument
Add #OnTick annotation
Add ZMRobot API class
This commit is contained in:
whale
2020-04-29 15:29:56 +08:00
parent e1983d6dd8
commit 169a751e0f
31 changed files with 872 additions and 200 deletions

View File

@@ -8,6 +8,7 @@ use Swoole\Http\Request;
use Swoole\WebSocket\Frame;
use Swoole\WebSocket\Server;
use ZM\Http\Response;
use ZM\Utils\ZMRobot;
interface ContextInterface
{
@@ -30,4 +31,7 @@ interface ContextInterface
/** @return Request */
public function getRequest();
/** @return ZMRobot */
public function getRobot();
}