added pegasus.lua

This commit is contained in:
Alexander Popov 2023-09-30 20:17:46 +03:00
parent 6cdf82d9c4
commit ef5ed8cd26
Signed by: iiiypuk
GPG Key ID: E47FE0AB36CD5ED6
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,27 @@
---
title: "🐎 Pegasus — веб сервер для веб приложений на Lua"
date: 2023-09-30T20:08:38+03:00
draft: true
tags: [http, libs, links, lua, development]
---
**Установка**
```sh
luarocks install pegasus
```
**Использование**
```lua
local pegasus = require 'pegasus'
local server = pegasus:new({
port='9090',
location='root/'
})
server:start(function (request, response)
print "It's running..."
end)
```

View File

@ -0,0 +1,8 @@
---
title: "Stylua"
date: 2023-05-09T19:39:22+03:00
draft: true
tags: [lua, links, development]
---
https://github.com/JohnnyMorganz/StyLua