1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-11-23 10:38:05 +11:00

move net.lua -> minitel.lua

This commit is contained in:
Izaya 2018-08-10 23:08:10 +10:00
parent 27bc1c6fc3
commit cd613e857d
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# Minitel for KittenOS NEO # Minitel for KittenOS NEO
This package includes the Minitel service, in apps/svc-minitel.lua, and the net library, in libs/net.lua. This package includes the Minitel service, in apps/svc-minitel.lua, and the net library, in libs/minitel.lua.
## Minitel service ## Minitel service
@ -16,7 +16,7 @@ The net library provides an easy way of interacting with the minitel service, an
### Installation ### Installation
Place libs/net.lua into `NEO Disk/libs/net.lua` Place libs/minitel.lua into `NEO Disk/libs/minitel.lua`
### Usage ### Usage
@ -26,7 +26,7 @@ Due to how KittenOS's security model works, you have to initialise the library i
local minitel = neo.requireAccess("x.svc.minitel","minitel daemon access") local minitel = neo.requireAccess("x.svc.minitel","minitel daemon access")
local event = require("event")(neo) local event = require("event")(neo)
local net = require("net")(event,minitel) local net = require("minitel")(event,minitel)
``` ```
This gives access to the event API and Minitel service to the net library. This gives access to the event API and Minitel service to the net library.