Expose skynet's json library

This commit is contained in:
Oliver Marks 2018-09-16 10:45:45 +01:00 committed by GitHub
parent f266185cc3
commit 0e9ad11ced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ os.loadAPI "json" -- whyyyyyy
local skynet = {
server = "wss://osmarks.tk/skynet/connect/",
socket = nil,
open_channels = {}
open_channels = {},
json = json
}
function skynet.connect(force)