- 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
10 lines
270 B
GLSL
Executable File
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()!
|