🚀 Web server.
3 Commits
.editorconfig | ||
.gitignore | ||
Context.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
pool.go | ||
README.md | ||
Server_test.go | ||
Server.go |
server
HTTP server.
Installation
go get git.akyoto.dev/go/server
Example
s := server.New()
s.Get("/", func(ctx server.Context) error {
return ctx.String("Hello")
})
http.ListenAndServe(":8080", s)