mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
add skynet.cache lib
This commit is contained in:
@@ -10,6 +10,9 @@ local pcall = pcall
|
||||
local proto = {}
|
||||
local skynet = {}
|
||||
|
||||
-- code cache
|
||||
skynet.cache = require "skynet.codecache"
|
||||
|
||||
function skynet.register_protocol(class)
|
||||
local name = class.name
|
||||
local id = class.id
|
||||
|
||||
Reference in New Issue
Block a user