package server import ( "fmt" "log" "github.com/valyala/fasthttp" ) func Start() error { // Simple fasthttp server for now requestHandler := func(ctx *fasthttp.RequestCtx) { ctx.SetContentType("text/html; charset=utf-8") fmt.Fprintf(ctx, "

Dragon Knight

Server is running!

") } log.Println("Server starting on :8080") return fasthttp.ListenAndServe(":8080", requestHandler) }