Files
herolib/examples/hero/heroserver/heroserver.vsh
Mahmoud-Emad e9e11ee407 refactor: Update new_server signature and module structure
- Adjust `new_server` calls to use `ServerConfig` struct
- Unify `AuthConfig` and manager type references within module
- Remove duplicate `ServerConfig` and factory function definition
- Update `test_heroserver_new` to reflect API changes
- Refine internal module imports and factory calls
2025-09-16 09:45:18 +03:00

10 lines
270 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(heroserver.ServerConfig{
port: 8080
auth_config: heroserver.AuthConfig{}
})!
server.start()!