From 2be915e3c737e420201f4d46231d47dec5f14f2a Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Thu, 1 Jun 2017 12:10:14 +0800 Subject: [PATCH] compat skynet 1.0 lua module --- lualib/compat10/cluster.lua | 1 + lualib/compat10/crypt.lua | 1 + lualib/compat10/datacenter.lua | 1 + lualib/compat10/debugchannel.lua | 1 + lualib/compat10/dns.lua | 1 + lualib/compat10/memory.lua | 1 + lualib/compat10/mongo.lua | 1 + lualib/compat10/mqueue.lua | 1 + lualib/compat10/multicast.lua | 1 + lualib/compat10/mysql.lua | 1 + lualib/compat10/netpack.lua | 1 + lualib/compat10/profile.lua | 1 + lualib/compat10/redis.lua | 1 + lualib/compat10/sharedata.lua | 1 + lualib/compat10/sharemap.lua | 1 + lualib/compat10/socket.lua | 1 + lualib/compat10/socketchannel.lua | 1 + lualib/compat10/socketdriver.lua | 1 + lualib/compat10/stm.lua | 1 + 19 files changed, 19 insertions(+) create mode 100644 lualib/compat10/cluster.lua create mode 100644 lualib/compat10/crypt.lua create mode 100644 lualib/compat10/datacenter.lua create mode 100644 lualib/compat10/debugchannel.lua create mode 100644 lualib/compat10/dns.lua create mode 100644 lualib/compat10/memory.lua create mode 100644 lualib/compat10/mongo.lua create mode 100644 lualib/compat10/mqueue.lua create mode 100644 lualib/compat10/multicast.lua create mode 100644 lualib/compat10/mysql.lua create mode 100644 lualib/compat10/netpack.lua create mode 100644 lualib/compat10/profile.lua create mode 100644 lualib/compat10/redis.lua create mode 100644 lualib/compat10/sharedata.lua create mode 100644 lualib/compat10/sharemap.lua create mode 100644 lualib/compat10/socket.lua create mode 100644 lualib/compat10/socketchannel.lua create mode 100644 lualib/compat10/socketdriver.lua create mode 100644 lualib/compat10/stm.lua diff --git a/lualib/compat10/cluster.lua b/lualib/compat10/cluster.lua new file mode 100644 index 00000000..04c5b01c --- /dev/null +++ b/lualib/compat10/cluster.lua @@ -0,0 +1 @@ +return require "skynet.cluster" \ No newline at end of file diff --git a/lualib/compat10/crypt.lua b/lualib/compat10/crypt.lua new file mode 100644 index 00000000..7fcb351a --- /dev/null +++ b/lualib/compat10/crypt.lua @@ -0,0 +1 @@ +return require "skynet.crypt" \ No newline at end of file diff --git a/lualib/compat10/datacenter.lua b/lualib/compat10/datacenter.lua new file mode 100644 index 00000000..1529e7bc --- /dev/null +++ b/lualib/compat10/datacenter.lua @@ -0,0 +1 @@ +return require "skynet.datacenter" \ No newline at end of file diff --git a/lualib/compat10/debugchannel.lua b/lualib/compat10/debugchannel.lua new file mode 100644 index 00000000..3768643d --- /dev/null +++ b/lualib/compat10/debugchannel.lua @@ -0,0 +1 @@ +return require "skynet.debugchannel" \ No newline at end of file diff --git a/lualib/compat10/dns.lua b/lualib/compat10/dns.lua new file mode 100644 index 00000000..fd9e7096 --- /dev/null +++ b/lualib/compat10/dns.lua @@ -0,0 +1 @@ +return require "skynet.dns" \ No newline at end of file diff --git a/lualib/compat10/memory.lua b/lualib/compat10/memory.lua new file mode 100644 index 00000000..07c4e506 --- /dev/null +++ b/lualib/compat10/memory.lua @@ -0,0 +1 @@ +return require "skynet.memory" \ No newline at end of file diff --git a/lualib/compat10/mongo.lua b/lualib/compat10/mongo.lua new file mode 100644 index 00000000..98c5456f --- /dev/null +++ b/lualib/compat10/mongo.lua @@ -0,0 +1 @@ +return require "skynet.mongo" \ No newline at end of file diff --git a/lualib/compat10/mqueue.lua b/lualib/compat10/mqueue.lua new file mode 100644 index 00000000..a1ca6102 --- /dev/null +++ b/lualib/compat10/mqueue.lua @@ -0,0 +1 @@ +return require "skynet.mqueue" \ No newline at end of file diff --git a/lualib/compat10/multicast.lua b/lualib/compat10/multicast.lua new file mode 100644 index 00000000..93a38bc7 --- /dev/null +++ b/lualib/compat10/multicast.lua @@ -0,0 +1 @@ +return require "skynet.multicast" \ No newline at end of file diff --git a/lualib/compat10/mysql.lua b/lualib/compat10/mysql.lua new file mode 100644 index 00000000..f0b9dd27 --- /dev/null +++ b/lualib/compat10/mysql.lua @@ -0,0 +1 @@ +return require "skynet.db.mysql" \ No newline at end of file diff --git a/lualib/compat10/netpack.lua b/lualib/compat10/netpack.lua new file mode 100644 index 00000000..eb1350ab --- /dev/null +++ b/lualib/compat10/netpack.lua @@ -0,0 +1 @@ +return require "skynet.netpack" \ No newline at end of file diff --git a/lualib/compat10/profile.lua b/lualib/compat10/profile.lua new file mode 100644 index 00000000..3d8dc69c --- /dev/null +++ b/lualib/compat10/profile.lua @@ -0,0 +1 @@ +return require "skynet.profile" \ No newline at end of file diff --git a/lualib/compat10/redis.lua b/lualib/compat10/redis.lua new file mode 100644 index 00000000..8ca502fd --- /dev/null +++ b/lualib/compat10/redis.lua @@ -0,0 +1 @@ +return require "skynet.db.redis" \ No newline at end of file diff --git a/lualib/compat10/sharedata.lua b/lualib/compat10/sharedata.lua new file mode 100644 index 00000000..59d9c942 --- /dev/null +++ b/lualib/compat10/sharedata.lua @@ -0,0 +1 @@ +return require "skynet.sharedata" \ No newline at end of file diff --git a/lualib/compat10/sharemap.lua b/lualib/compat10/sharemap.lua new file mode 100644 index 00000000..f377542b --- /dev/null +++ b/lualib/compat10/sharemap.lua @@ -0,0 +1 @@ +return require "skynet.sharemap" \ No newline at end of file diff --git a/lualib/compat10/socket.lua b/lualib/compat10/socket.lua new file mode 100644 index 00000000..99eec22f --- /dev/null +++ b/lualib/compat10/socket.lua @@ -0,0 +1 @@ +return require "skynet.socket" \ No newline at end of file diff --git a/lualib/compat10/socketchannel.lua b/lualib/compat10/socketchannel.lua new file mode 100644 index 00000000..b74f8a4f --- /dev/null +++ b/lualib/compat10/socketchannel.lua @@ -0,0 +1 @@ +return require "skynet.socketchannel" \ No newline at end of file diff --git a/lualib/compat10/socketdriver.lua b/lualib/compat10/socketdriver.lua new file mode 100644 index 00000000..45ddf996 --- /dev/null +++ b/lualib/compat10/socketdriver.lua @@ -0,0 +1 @@ +return require "skynet.socketdriver" \ No newline at end of file diff --git a/lualib/compat10/stm.lua b/lualib/compat10/stm.lua new file mode 100644 index 00000000..933c651d --- /dev/null +++ b/lualib/compat10/stm.lua @@ -0,0 +1 @@ +return require "skynet.stm" \ No newline at end of file