aboutsummaryrefslogtreecommitdiff
path: root/src/pawsd.lua
diff options
context:
space:
mode:
authorAutumn <git@autumnfo.rest>2026-05-17 10:58:04 +0100
committerAutumn <git@autumnfo.rest>2026-05-17 10:58:04 +0100
commit712f07f3356df343635e835985fa7e809ef9daf9 (patch)
treeb0ba16dcb3757de943088e54e2193e8d9d058934 /src/pawsd.lua
parentd86ffd57430477b1c8f64fdc51619efe95cd77bb (diff)
[pawsd] moved variables to pawsd dir
Diffstat (limited to 'src/pawsd.lua')
-rw-r--r--src/pawsd.lua42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/pawsd.lua b/src/pawsd.lua
deleted file mode 100644
index 4c7f82f..0000000
--- a/src/pawsd.lua
+++ /dev/null
@@ -1,42 +0,0 @@
---
--- ~~~ pawsd information
---
-
--- known verbs
-local verbs = {
- ECHO = "0000",
- FETCH_SERVICE = "0001"
-}
-
--- metadata
-local magic = {
- REQUEST = "5061775271757374", -- PawRqust
- RESPONSE = "5061775273706E73" -- PawRspns
-}
-
-local version = "0001"
-
--- supported key algorithms
-local keyalg = {
- ED25519 = "63af"
-}
-
--- response codes
-local responses = {
- OK = "0200",
- CLIENT_ERROR = "0400",
- NOT_FOUND = "0404",
- SERVER_ERROR = "0500",
- NOT_IMPLEMENTED = "0501",
- UNAVAILABLE = "0503",
- UNKNOWN = "0505"
-}
-
--- return
-return {
- Verbs = verbs,
- Responses = responses,
- Magic = magic,
- Version = version,
- KeyAlg = keyalg
-}