mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-11-23 02:28:05 +11:00
move net.lua -> minitel.lua
This commit is contained in:
parent
27bc1c6fc3
commit
cd613e857d
@ -1,5 +1,5 @@
|
||||
# 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
|
||||
|
||||
@ -16,7 +16,7 @@ The net library provides an easy way of interacting with the minitel service, an
|
||||
|
||||
### Installation
|
||||
|
||||
Place libs/net.lua into `NEO Disk/libs/net.lua`
|
||||
Place libs/minitel.lua into `NEO Disk/libs/minitel.lua`
|
||||
|
||||
### 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 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.
|
||||
|
Loading…
Reference in New Issue
Block a user