A toy webserver with variable expansion based on connecting client

This commit is contained in:
2026-04-03 14:46:04 +02:00
commit 07d33913ca
9 changed files with 1180 additions and 0 deletions

7
docroot/index.txt Normal file
View File

@@ -0,0 +1,7 @@
Welcome, {{ .course }} participant from {{ .remote_address }}!
I see you are using "{{ .user_agent }}".
Your token is "{{ .client_map_token }}"
You may write it in your workbook and give to your teacher. Thank you for
participating in the {{ .course }} session.