- Pass URL params as direct arguments to handlers - Use `ctx.get_custom_header` to retrieve session key - Add a runnable script to start the heroserver - Clean up formatting in documentation and code - Remove unused redisclient import
7 lines
197 B
GLSL
Executable File
7 lines
197 B
GLSL
Executable File
#!/usr/bin/env -S v -n -w -cg -gc none -cc tcc -d use_openssl -enable-globals run
|
|
|
|
import freeflowuniverse.herolib.hero.heroserver
|
|
|
|
mut server := heroserver.new_server(port: 8080)!
|
|
server.start()!
|