summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Expand)AuthorAgeFilesLines
* Rename leftover references of "papo" -> "papod"EuAndreh2024-05-232-10/+10
* Move UUID, FatalIf(), events, etc. code to external libEuAndreh2024-05-161-273/+19
* Rename source files to "lib.go" and "main.go"EuAndreh2024-05-162-0/+0
* src/papod.go: Add message parsing code with some testsEuAndreh2024-05-071-13/+154
* Rename from "papo" to "papod"EuAndreh2024-05-062-0/+0
* src/papo.go: Add initial server skeletonEuAndreh2024-05-061-11/+443
* src/static/client.js: Add some stub codeEuAndreh2024-03-281-0/+1
* src/cmd/papo.go: Move code into moduleEuAndreh2024-03-282-24/+23
* Node.js -> GoEuAndreh2024-03-2512-303/+36
* src/hero.mjs: Retire codeEuAndreh2024-03-212-697/+16
* src/utils.mjs: Add eq() as an alias for util.isDeepStrictEqualEuAndreh2024-03-201-0/+5
* src/utils.mjs: Add take() and range()EuAndreh2024-03-201-0/+40
* src/hero.mjs: Add statusMessage() and statusResponse()EuAndreh2024-03-181-16/+14
* src/hero.mjs: Log to stdout instead of stderrEuAndreh2024-03-171-1/+1
* tests/js/hero.mjs: Add simple test for now()EuAndreh2024-03-171-1/+2
* src/hero.mjs: Use name of CWD as the default name of buildServer()EuAndreh2024-03-171-2/+4
* src/hero.mjs: Add "stopping-server" logEuAndreh2024-03-171-0/+11
* src/web.mjs: Move the "starting-server" logging into hero when .listen()EuAndreh2024-03-172-12/+15
* src/hero.mjs: Include "timestamp" in the logged data objectsEuAndreh2024-03-171-6/+11
* src/hero.mjs: Explicitly inject "headers" key in reqEuAndreh2024-03-161-0/+2
* src/hero.mjs: Add makeUpgradeListener() (again, now rewritten)EuAndreh2024-03-161-0/+13
* src/hero.mjs: use empty object as default value for renderHeaders()EuAndreh2024-03-161-1/+1
* src/hero.mjs: validateUpgrade(): Add note on 405 caseEuAndreh2024-03-161-0/+3
* src/web.mjs: Add "WEBSOCKET" routeEuAndreh2024-03-161-7/+8
* src/hero.mjs: Move interceptors.contentType() closer to the end of the listEuAndreh2024-03-161-1/+1
* src/hero.mjs: Add writeHead() and its helper functionsEuAndreh2024-03-161-0/+17
* src/hero.mjs: Remove current makeUpgradeListener() and its helpersEuAndreh2024-03-161-61/+0
* src/hero.mjs: findHandler(): learn how to find upgrade routesEuAndreh2024-03-161-8/+10
* src/hero.mjs: Add interceptors.websocketHandshake()EuAndreh2024-03-161-0/+24
* src/hero.mjs: Remove WEBSOCKET_* constantsEuAndreh2024-03-161-9/+3
* src/hero.mjs: Add validateUpgrade(), computeHash() and their helper functionsEuAndreh2024-03-161-0/+99
* src/hero.mjs: Add "upgrade" and "socket" keys to `req`EuAndreh2024-03-161-4/+11
* src/hero.mjs: interceptors.contentType(): Generate body from status when missingEuAndreh2024-03-161-5/+13
* src/hero.mjs: Include stacktrace in 500 log entryEuAndreh2024-03-151-0/+1
* src/hero.mjs: Add makeUpgradeListener()EuAndreh2024-03-151-0/+20
* src/hero.mjs: Add handlerForConnection()EuAndreh2024-03-151-0/+16
* src/hero.mjs: Add support for "WEBSOCKET" type of routeEuAndreh2024-03-151-2/+7
* src/hero.mjs: Add buildHttpPayload()EuAndreh2024-03-151-0/+19
* src/hero.mjs: Add emitHeaders()EuAndreh2024-03-151-0/+6
* src/hero.mjs: Add comboForLabel()EuAndreh2024-03-151-0/+5
* src/hero.mjs: Add isValidLabel()EuAndreh2024-03-151-0/+9
* src/hero.mjs: Destructure handler arguments in handleRequest()EuAndreh2024-03-151-4/+4
* src/hero.mjs: Include "headers" and "ref" in request paramEuAndreh2024-03-141-4/+7
* src/web.mjs: Add trailing newline to bodyEuAndreh2024-03-141-2/+2
* src/hero.mjs: Add timing data to "in-response" log entryEuAndreh2024-03-081-0/+9
* src/utils.mjs: Add dissoc()EuAndreh2024-03-081-0/+6
* src/web.mjs: Move logging and interceptors to the beginning of the fileEuAndreh2024-03-081-104/+104
* src/hero.mjs: Make sure globalInceptors are used even when we get a 404EuAndreh2024-03-081-7/+14
* src/hero.mjs: Add buildTable()EuAndreh2024-03-081-1/+8
* src/hero.mjs: server.listen() -> server.start(); server.close() -> server.stop()EuAndreh2024-03-072-3/+3