initialize
This commit is contained in:
8
example.luau
Normal file
8
example.luau
Normal file
@@ -0,0 +1,8 @@
|
||||
local Moana = require("src")
|
||||
local Instance = Moana.init()
|
||||
|
||||
local APIFolder = Instance:registerFolder("api", "/api")
|
||||
APIFolder:registerEndpoint("thing", {})
|
||||
APIFolder:registerFolder("specific")
|
||||
|
||||
APIFolder:unregisterEndpoint("thing")
|
Reference in New Issue
Block a user